ath6kl: Remove NETDEV_REGISTERED flag
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 22 Feb 2013 14:50:33 +0000 (20:20 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 5 Mar 2013 07:41:54 +0000 (09:41 +0200)
Currently its no where used.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/core.h

index 982dbf666a153c4f442e854c6d9c1d680e57976f..538c6a1cf8cc5e54655900df7408cc8c5c6bfc2b 100644 (file)
@@ -3661,7 +3661,6 @@ struct wireless_dev *ath6kl_interface_add(struct ath6kl *ar, const char *name,
        vif->sme_state = SME_DISCONNECTED;
        set_bit(WLAN_ENABLED, &vif->flags);
        ar->wlan_pwr_state = WLAN_POWER_STATE_ON;
-       set_bit(NETDEV_REGISTERED, &vif->flags);
 
        if (type == NL80211_IFTYPE_ADHOC)
                ar->ibss_if_active = true;
index 61b2f98b4e775afb9f0f4b17e4af8bed68baa59d..1c9ed40358d8558a42233fecf374801a39121766 100644 (file)
@@ -560,7 +560,6 @@ enum ath6kl_vif_state {
        WMM_ENABLED,
        NETQ_STOPPED,
        DTIM_EXPIRED,
-       NETDEV_REGISTERED,
        CLEAR_BSSFILTER_ON_BEACON,
        DTIM_PERIOD_AVAIL,
        WLAN_ENABLED,