* [PATCH] cfg80211: fix a wrong ifdef
@ 2009-10-02 8:38 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-10-02 8:38 UTC (permalink / raw)
To: John Linville; +Cc: Holger Schurig, linux-wireless
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@sipsolutions.net>
---
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-02 8:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02 8:38 [PATCH] cfg80211: fix a wrong ifdef Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox