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>
This commit is contained in:
Kalle Valo
2012-01-17 20:08:40 +02:00
parent c25889e8a6
commit 46d33a21cf
3 changed files with 62 additions and 57 deletions

View File

@@ -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;