summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages/linux/linux-moblin-2.6.33.2/rtl8192_no_WAP_unassoc.patch
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-05-18 14:51:13 +0100
committerJoshua Lock <josh@linux.intel.com>2010-05-19 12:20:16 +0100
commit5e8c7c54a9b297dae0081dd19a7bb94e23040a3d (patch)
tree948e3642c1bf426870b83c72c68c997dce66766c /meta-moblin/packages/linux/linux-moblin-2.6.33.2/rtl8192_no_WAP_unassoc.patch
parent5e07bc91281969d54896dd0a13e3d6134e432027 (diff)
downloadpoky-5e8c7c54a9b297dae0081dd19a7bb94e23040a3d.tar.gz
linux-moblin: add 2.6.33.2 kernel from MeeGo 1.0
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.33.2/rtl8192_no_WAP_unassoc.patch')
-rw-r--r--meta-moblin/packages/linux/linux-moblin-2.6.33.2/rtl8192_no_WAP_unassoc.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.33.2/rtl8192_no_WAP_unassoc.patch b/meta-moblin/packages/linux/linux-moblin-2.6.33.2/rtl8192_no_WAP_unassoc.patch
new file mode 100644
index 0000000000..436945b30f
--- /dev/null
+++ b/meta-moblin/packages/linux/linux-moblin-2.6.33.2/rtl8192_no_WAP_unassoc.patch
@@ -0,0 +1,40 @@
1If we're not associated, we should not send wireless events to let userspace
2know that we just left an ESSID, simply because we havent yet joined it.
3If we keep on doing that, wpa_supplicant could receive such events while
4actually trying to join an ESSID, and thus decide to stop trying. This leads
5to a lot of connection failures as this driver seems to be sending GIWAP
6events quite a lot.
7
8Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
9---
10 drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c | 5 +++--
11 1 file changed, 3 insertions(+), 2 deletions(-)
12
13Index: b/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c
14===================================================================
15--- a/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c 2010-01-15 16:57:48.000000000 +0100
16+++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c 2010-01-15 19:31:56.000000000 +0100
17@@ -2726,11 +2726,12 @@ void ieee80211_disassociate(struct ieee8
18 if(IS_DOT11D_ENABLE(ieee))
19 Dot11d_Reset(ieee);
20 #endif
21- ieee->state = IEEE80211_NOLINK;
22 ieee->is_set_key = false;
23 ieee->link_change(ieee->dev);
24 //HTSetConnectBwMode(ieee, HT_CHANNEL_WIDTH_20, HT_EXTCHNL_OFFSET_NO_EXT);
25- notify_wx_assoc_event(ieee);
26+ if (ieee->state == IEEE80211_LINKED)
27+ notify_wx_assoc_event(ieee);
28+ ieee->state = IEEE80211_NOLINK;
29
30 }
31 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
32
33--
34Intel Open Source Technology Centre
35http://oss.intel.com/
36_______________________________________________
37Moblin-kernel mailing list
38Moblin-kernel@linux.intel.com
39http://linux.intel.com/mailman/listinfo/moblin-kernel
40