Search Linux Wireless

[PATCH] cfg80211: fix a wrong ifdef

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <johannes@xxxxxxxxxxxxxxxx>
---
Might be worth rolling it into the refactor patch.

 net/wireless/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-testing.orig/net/wireless/core.c	2009-10-02 10:34:13.000000000 +0200
+++ wireless-testing/net/wireless/core.c	2009-10-02 10:34:24.000000000 +0200
@@ -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;


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux