Skip to contentSkip to conversation

cfg80211: fix a wrong ifdef

PATCH New Johannes Berg 1 participant 1 message Oct 2, 2009 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 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.

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