Search Linux Wireless

scan_request->nr_ssids never 0 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Even when I do an "iw xxx scan trigger", scan_request->nr_ssids 
is always 1 in my driver.

Is this a bug or a feature?



However, scan_request->ssids[0].ssid_len is 0.

So to ask my firmware for an SSID scan, I need to do 

 if (req->n_ssids && req->ssid[0].ssid_len)

instead of simply

 if (req->n_ssids)

-- 
http://www.holgerschurig.de
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux