summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/init.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-01-17 20:08:40 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2012-01-18 13:51:13 +0200
commit46d33a21cfa531f4271c3f0b7b87a295f30f9e6a (patch)
treebbdb51be2118ab4c986a50d955deab0022aef411 /drivers/net/wireless/ath/ath6kl/init.c
parentc25889e8a6fdfc54618b192a80c94419ddb7949d (diff)
downloadtalos-obmc-linux-46d33a21cfa531f4271c3f0b7b87a295f30f9e6a.tar.gz
talos-obmc-linux-46d33a21cfa531f4271c3f0b7b87a295f30f9e6a.zip
ath6kl: unify cfg80211 init/cleanup functions
Group them together and change the naming to follow the common style in ath6kl. No functional changes. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/init.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index 3cc4e0842add..7e56a6aa70b9 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -625,7 +625,7 @@ void ath6kl_core_cleanup(struct ath6kl *ar)
kfree(ar->fw_patch);
kfree(ar->fw_testscript);
- ath6kl_deinit_ieee80211_hw(ar);
+ ath6kl_cfg80211_cleanup(ar);
}
/* firmware upload */
@@ -1722,7 +1722,7 @@ int ath6kl_core_init(struct ath6kl *ar)
ath6kl_dbg(ATH6KL_DBG_TRC, "%s: got wmi @ 0x%p.\n", __func__, ar->wmi);
- ret = ath6kl_register_ieee80211_hw(ar);
+ ret = ath6kl_cfg80211_init(ar);
if (ret)
goto err_node_cleanup;
OpenPOWER on IntegriCloud