diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_ioctl.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ioctl.c b/drivers/net/wireless/hostap/hostap_ioctl.c index d8f5efcfcab9..3a57d48cc360 100644 --- a/drivers/net/wireless/hostap/hostap_ioctl.c +++ b/drivers/net/wireless/hostap/hostap_ioctl.c | |||
@@ -1089,6 +1089,9 @@ static int prism2_ioctl_giwrange(struct net_device *dev, | |||
1089 | range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | | 1089 | range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | |
1090 | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; | 1090 | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; |
1091 | 1091 | ||
1092 | if (local->sta_fw_ver >= PRISM2_FW_VER(1,3,1)) | ||
1093 | range->scan_capa = IW_SCAN_CAPA_ESSID; | ||
1094 | |||
1092 | return 0; | 1095 | return 0; |
1093 | } | 1096 | } |
1094 | 1097 | ||
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 003f73f89efa..be31304dfad5 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -8912,6 +8912,8 @@ static int ipw_wx_get_range(struct net_device *dev, | |||
8912 | range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | | 8912 | range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | |
8913 | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; | 8913 | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; |
8914 | 8914 | ||
8915 | range->scan_capa = IW_SCAN_CAPA_ESSID | IW_SCAN_CAPA_TYPE; | ||
8916 | |||
8915 | IPW_DEBUG_WX("GET Range\n"); | 8917 | IPW_DEBUG_WX("GET Range\n"); |
8916 | return 0; | 8918 | return 0; |
8917 | } | 8919 | } |