On Wed, 2007-08-08 at 00:56 -0700, Michael Wu wrote: > 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); Except you got the condition inverted. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part