Search Linux Wireless

Re: [PATCH] mac80211: probe for hidden SSIDs in pre-auth scan

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

 



On Tuesday 07 August 2007 13:33, John W. Linville wrote:
> The ternary conditionals are a bit ugly.  I guess I could recode it
> with temp vars initialized before calling ieee80211_sta_start_scan.
>
Something more like:

if (ifsta->auto_ssid_sel && ifsta->ssid_len)
  ieee80211_sta_start_scan(dev, NULL, 0);
else
  ieee80211_sta_start_scan(dev, ifsta->ssid, ifsta->ssid_len);

would be better.

-Michael Wu

Attachment: pgp36XgmzYa44.pgp
Description: PGP signature


[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