summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/rtl8192_no_autoconnect.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-netbook-2.6.33.2/rtl8192_no_autoconnect.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-netbook-2.6.33.2/rtl8192_no_autoconnect.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/rtl8192_no_autoconnect.patch b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/rtl8192_no_autoconnect.patch
new file mode 100644
index 0000000000..9119535202
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/rtl8192_no_autoconnect.patch
@@ -0,0 +1,41 @@
1Getting a probe response after sending a probe request to a specific SSID
2doesnt mean we're trying to associate with this SSID.
3wpa_supplicant should be the only one deciding when to join an SSID, not the
4kernel.
5
6Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
7---
8 drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c | 4 ----
9 1 file changed, 4 deletions(-)
10
11Index: b/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c
12===================================================================
13--- a/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c 2010-01-15 16:56:47.000000000 +0100
14+++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c 2010-01-15 16:57:03.000000000 +0100
15@@ -2716,8 +2716,6 @@ static inline void ieee80211_process_pro
16 #endif
17 memcpy(target, &network, sizeof(*target));
18 list_add_tail(&target->list, &ieee->network_list);
19- if(ieee->softmac_features & IEEE_SOFTMAC_ASSOCIATE)
20- ieee80211_softmac_new_net(ieee,&network);
21 } else {
22 IEEE80211_DEBUG_SCAN("Updating '%s' (" MAC_FMT ") via %s.\n",
23 escape_essid(target->ssid,
24@@ -2744,8 +2742,6 @@ static inline void ieee80211_process_pro
25 //YJ,add,080819,for hidden ap,end
26
27 update_network(target, &network);
28- if(renew && (ieee->softmac_features & IEEE_SOFTMAC_ASSOCIATE))
29- ieee80211_softmac_new_net(ieee,&network);
30 }
31
32 spin_unlock_irqrestore(&ieee->lock, flags);
33
34--
35Intel Open Source Technology Centre
36http://oss.intel.com/
37_______________________________________________
38Moblin-kernel mailing list
39Moblin-kernel@linux.intel.com
40http://linux.intel.com/mailman/listinfo/moblin-kernel
41