summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.33-rt2860-2-2.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/linux-2.6.33-rt2860-2-2.patch
parent5e07bc91281969d54896dd0a13e3d6134e432027 (diff)
downloadopenembedded-core-5e8c7c54a9b297dae0081dd19a7bb94e23040a3d.tar.gz
openembedded-core-5e8c7c54a9b297dae0081dd19a7bb94e23040a3d.tar.bz2
openembedded-core-5e8c7c54a9b297dae0081dd19a7bb94e23040a3d.tar.xz
openembedded-core-5e8c7c54a9b297dae0081dd19a7bb94e23040a3d.zip
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/linux-2.6.33-rt2860-2-2.patch')
-rw-r--r--meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.33-rt2860-2-2.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.33-rt2860-2-2.patch b/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.33-rt2860-2-2.patch
new file mode 100644
index 000000000..20402b87c
--- /dev/null
+++ b/meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6.33-rt2860-2-2.patch
@@ -0,0 +1,24 @@
+
+When no SSID is set, the reconnect decision should entirely be left to
+userspace. The driver should not decide which AP to associate with based on
+arbitrary policies.
+
+Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
+---
+ drivers/staging/rt2860/common/mlme.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+Index: b/drivers/staging/rt2860/common/mlme.c
+===================================================================
+--- a/drivers/staging/rt2860/common/mlme.c 2010-01-05 11:25:22.000000000 +0100
++++ b/drivers/staging/rt2860/common/mlme.c 2010-01-05 13:10:32.000000000 +0100
+@@ -1554,7 +1554,8 @@ void MlmeAutoReconnectLastSSID(struct rt
+ else if ((pAd->Mlme.CntlMachine.CurrState == CNTL_IDLE) &&
+ (MlmeValidateSSID
+ (pAd->MlmeAux.AutoReconnectSsid,
+- pAd->MlmeAux.AutoReconnectSsidLen) == TRUE)) {
++ pAd->MlmeAux.AutoReconnectSsidLen) == TRUE) &&
++ (pAd->MlmeAux.AutoReconnectSsidLen != 0)) {
+ struct rt_ndis_802_11_ssid OidSsid;
+ OidSsid.SsidLength = pAd->MlmeAux.AutoReconnectSsidLen;
+ NdisMoveMemory(OidSsid.Ssid, pAd->MlmeAux.AutoReconnectSsid,