diff options
author | Saul Wold <Saul.Wold@intel.com> | 2010-09-24 15:36:24 -0700 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-24 16:43:21 -0700 |
commit | 239a368d5715d8f5b7733f9400339c2350c49369 (patch) | |
tree | 2953f12b45e590d9e14b6f72f8e4ee7188e41508 /meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-rt2860-2-2.patch | |
parent | c5b9525263dac6844d152e40acf8cee4d27b60bc (diff) | |
download | poky-239a368d5715d8f5b7733f9400339c2350c49369.tar.gz |
netbook: Correct netbook build by moving netbook configuration from moblin to meta
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-rt2860-2-2.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-rt2860-2-2.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-rt2860-2-2.patch b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-rt2860-2-2.patch new file mode 100644 index 0000000000..20402b87cb --- /dev/null +++ b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-rt2860-2-2.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | |||
2 | When no SSID is set, the reconnect decision should entirely be left to | ||
3 | userspace. The driver should not decide which AP to associate with based on | ||
4 | arbitrary policies. | ||
5 | |||
6 | Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> | ||
7 | --- | ||
8 | drivers/staging/rt2860/common/mlme.c | 3 ++- | ||
9 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
10 | |||
11 | Index: b/drivers/staging/rt2860/common/mlme.c | ||
12 | =================================================================== | ||
13 | --- a/drivers/staging/rt2860/common/mlme.c 2010-01-05 11:25:22.000000000 +0100 | ||
14 | +++ b/drivers/staging/rt2860/common/mlme.c 2010-01-05 13:10:32.000000000 +0100 | ||
15 | @@ -1554,7 +1554,8 @@ void MlmeAutoReconnectLastSSID(struct rt | ||
16 | else if ((pAd->Mlme.CntlMachine.CurrState == CNTL_IDLE) && | ||
17 | (MlmeValidateSSID | ||
18 | (pAd->MlmeAux.AutoReconnectSsid, | ||
19 | - pAd->MlmeAux.AutoReconnectSsidLen) == TRUE)) { | ||
20 | + pAd->MlmeAux.AutoReconnectSsidLen) == TRUE) && | ||
21 | + (pAd->MlmeAux.AutoReconnectSsidLen != 0)) { | ||
22 | struct rt_ndis_802_11_ssid OidSsid; | ||
23 | OidSsid.SsidLength = pAd->MlmeAux.AutoReconnectSsidLen; | ||
24 | NdisMoveMemory(OidSsid.Ssid, pAd->MlmeAux.AutoReconnectSsid, | ||