wl12xx: minor fix in sched_scan_ssid_list
authorEyal Shapira <eyal@wizery.com>
Wed, 7 Dec 2011 10:37:04 +0000 (12:37 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 8 Dec 2011 10:32:40 +0000 (12:32 +0200)
commit1b04b739f4c1d053bebb29657fb69bf03f180a97
tree4d68463d1fcb92a41c6a644938304f40f97e9961
parent3dbb5846db1f5df3619b927cc2a7dcaf65a38f1e
wl12xx: minor fix in sched_scan_ssid_list

The user can pass broadcast SSID (ssid="") in the list of SSIDs for active scan.
In this case the loop was attempting to match SSIDs in the filter
list to this empty entry and marking them as HIDDEN (sending probe
request) by mistake

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