cfg80211: fix a wrong ifdef
Johannes Berg
maintainerPATCH 1/1 cfg80211: fix a wrong ifdef
The wext refactoring replaced all
#ifdef CONFIG_WIRELESS_EXT in cfg80211 with #ifdef CONFIG_CFG80211_WEXT
but one -- that one needs fixing now.
Signed-off-by Johannes Berg <[email protected]>
---
Might be worth rolling it into the refactor patch.
net/wireless/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/wireless/core.c +1 -1
@@ -669,7 +669,7 @@ static int cfg80211_netdev_notifier_call wdev->netdev = dev; wdev->sme_state =CFG80211_SME_IDLE ;mutex_unlock (&rdev->devlist_mtx); -#ifdef CONFIG_WIRELESS_EXT +#ifdef CONFIG_CFG80211_WEXT wdev->wext.default_key =-1 ; wdev->wext.default_mgmt_key =-1 ; wdev->wext.connect.auth_type =NL80211_AUTHTYPE_AUTOMATIC ;