Search Linux Wireless

Making sense of cfg80211_scan_request.n_ssids

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

 



Hi,

I'm looking at libertas scanning code, and I'm wondering exactly what
the cfg80211_scan_request.n_ssids field is supposed to mean.

I would guess that it is supposed to indicate how many SSIDs should be
explicitly scanned for. However, this doesn't seem to be the case.

  iwlist eth0 scan essid test
  iw dev eth0 scan ssid test

Both of those commands result in libertas being called with
cfg80211_scan_request with n_ssids=1 and the "test" SSID present in
cfg80211_scan_request.ssids[0], as expected.


  iwlist eth0 scan
  iw dev eth0 scan

Both of those commands result in libertas being called with
cfg80211_scan_request with n_ssids=1 and a zero-length SSID present in
cfg80211_scan_request.ssids[0].
Is this a bug? I would expect it to be passed n_ssids=0 in this case.

Thanks,
Daniel
--
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