Lines 988-994
Link Here
|
988 |
|
988 |
|
989 |
static void link_status_off(struct ndis_device *wnd) |
989 |
static void link_status_off(struct ndis_device *wnd) |
990 |
{ |
990 |
{ |
991 |
#ifdef CONFIG_WIRELESS_EXT |
991 |
#ifdef CONFIG_CFG80211_WEXT |
992 |
union iwreq_data wrqu; |
992 |
union iwreq_data wrqu; |
993 |
|
993 |
|
994 |
memset(&wrqu, 0, sizeof(wrqu)); |
994 |
memset(&wrqu, 0, sizeof(wrqu)); |
Lines 1000-1006
Link Here
|
1000 |
|
1000 |
|
1001 |
static void link_status_on(struct ndis_device *wnd) |
1001 |
static void link_status_on(struct ndis_device *wnd) |
1002 |
{ |
1002 |
{ |
1003 |
#ifdef CONFIG_WIRELESS_EXT |
1003 |
#ifdef CONFIG_CFG80211_WEXT |
1004 |
struct ndis_assoc_info *ndis_assoc_info; |
1004 |
struct ndis_assoc_info *ndis_assoc_info; |
1005 |
union iwreq_data wrqu; |
1005 |
union iwreq_data wrqu; |
1006 |
NDIS_STATUS res; |
1006 |
NDIS_STATUS res; |
Lines 1008-1014
Link Here
|
1008 |
#endif |
1008 |
#endif |
1009 |
|
1009 |
|
1010 |
ENTER2(""); |
1010 |
ENTER2(""); |
1011 |
#ifdef CONFIG_WIRELESS_EXT |
1011 |
#ifdef CONFIG_CFG80211_WEXT |
1012 |
memset(&wrqu, 0, sizeof(wrqu)); |
1012 |
memset(&wrqu, 0, sizeof(wrqu)); |
1013 |
ndis_assoc_info = kzalloc(assoc_size, GFP_KERNEL); |
1013 |
ndis_assoc_info = kzalloc(assoc_size, GFP_KERNEL); |
1014 |
if (!ndis_assoc_info) { |
1014 |
if (!ndis_assoc_info) { |