wl12xx: fix sched scan of DFS channels
authorEyal Shapira <eyal@wizery.com>
Tue, 20 Dec 2011 10:04:01 +0000 (12:04 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 20 Dec 2011 20:30:16 +0000 (22:30 +0200)
commitfea2a613cf33ee0662e413e2f5697bed36d5029e
treeccd75835450682ffbfe4de855f50f15bde012d2e
parent180d9fc3348e049f447969a9891ad166021f00ca
wl12xx: fix sched scan of DFS channels

DFS channels weren't scanned properly because
min/max_duration weren't set for these channels
even though they're required by the FW.
The change sets passive_duration and min/max_duration
for all channels as the FW uses the correct parameters
according to the channel type.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/scan.c