Linux wireless drivers development
 help / color / mirror / Atom feed
* scan_request->nr_ssids never 0 ?
@ 2009-09-29 13:18 Holger Schurig
  2009-09-29 14:04 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Schurig @ 2009-09-29 13:18 UTC (permalink / raw)
  To: linux-wireless

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-29 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-29 13:18 scan_request->nr_ssids never 0 ? Holger Schurig
2009-09-29 14:04 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox