For now, no.

The patch Nick sent is same as I mentioned for iw.

QCA, Samuel


"Xu, Martin" <martin...@intel.com>提到:


Hi Samuel@intel:
We have verified this patch together with your wpa_s patch. WEP works. Please 
review it.

Samuel@QCA:
If you have other solution or comments, please also let us know. Thanks!

From: meego-kernel-boun...@lists.meego.com 
[mailto:meego-kernel-boun...@lists.meego.com] On Behalf Of nick_s...@wistron.com
Sent: Thursday, July 07, 2011 5:58 PM
To: meego-kernel@lists.meego.com
Subject: [Meego-kernel] [PATCH] ar6003 : fix null point when connect to ap by 
CFG80211


Subject: fix null point in ar6k_cfg80211_connect

driver crash when use iw to connect by null pointer,
the root cause is sme->ie is NULL
add check for ie to make sure valid to use pointer.

Signed-off-by: Nick Shih <Nick_Shih at wistron.com>

diff -ruNa a/drivers/staging/ar6003/os/linux/cfg80211.c 
b/drivers/staging/ar6003/os/linux/cfg80211.c
--- a/drivers/staging/ar6003/os/linux/cfg80211.c        2011-07-07 
14:53:42.300163064 -0700
+++ b/drivers/staging/ar6003/os/linux/cfg80211.c        2011-07-07 
14:57:15.316163163 -0700
@@ -394,7 +394,7 @@

     arPriv->arNetworkType = arPriv->arNextMode;

-    if (ie[0] == WLAN_EID_VENDOR_SPECIFIC &&
+    if ( ie && ie[0] == WLAN_EID_VENDOR_SPECIFIC &&
         memcmp(ie + 2, wps_oui, sizeof(wps_oui)) == 0) {
        /* WPS IE detected, notify target */
        A_PRINTF("WPS IE detected -- setting WPS flag\n");

_______________________________________________
MeeGo-kernel mailing list
MeeGo-kernel@lists.meego.com
http://lists.meego.com/listinfo/meego-kernel

Reply via email to