wlcore: set 5Ghz probe-req template for DFS channels
authorArik Nemtsov <arik@wizery.com>
Wed, 28 Nov 2012 09:42:36 +0000 (11:42 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Dec 2012 08:26:23 +0000 (10:26 +0200)
commitc23280eb1436edd30814e5e40e4c46ae4cdb3cf4
tree56a9a1c811e92d835ef7fe98b3677dd9b0af75f7
parent387116b89e987521653b7e9b70a13a9dc1ea6a85
wlcore: set 5Ghz probe-req template for DFS channels

Even passive scans on DFS channels require us to send probe requests, so
configure the probe-req in this case.

Also use this opportunity to prevent the code from crashing in case no
SSIDs are sent from above. This will likely happen in the DFS case
introduced. Even a passive scan might need the probe request configured
because of DFS channels.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/scan.c