libertas: implement SSID scanning for SIOCSIWSCAN
After my bit scan re-writing the SIOCSIWSCAN wext ioctl no longer supported scanning for a specific SSID. However, wpa_supplicant is a possible user of this ioctl, so here is code that add's this. While passing, removed even more of the debugfs-based scanning. You can (and should) the SIOCSIWSCAN to ask for scans, so there is no need for proprietary interfaces for scanning. And, besides, the scan result couldn't be used further, e.g. not for associating. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
@@ -579,6 +579,9 @@ static int lbs_get_range(struct net_device *dev, struct iw_request_info *info,
|
||||
range->num_bitrates);
|
||||
|
||||
range->num_frequency = 0;
|
||||
|
||||
range->scan_capa = IW_SCAN_CAPA_ESSID;
|
||||
|
||||
if (priv->enable11d &&
|
||||
(priv->connect_status == LBS_CONNECTED ||
|
||||
priv->mesh_connect_status == LBS_CONNECTED)) {
|
||||
|
Reference in New Issue
Block a user