git.openpandora.org
/
pandora-wifi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wl1251: fix scan behaviour while not associated
[pandora-wifi.git]
/
drivers
/
net
/
wireless
/
wl12xx
/
wl1251_main.c
diff --git
a/drivers/net/wireless/wl12xx/wl1251_main.c
b/drivers/net/wireless/wl12xx/wl1251_main.c
index
86672df
..
57b09a1
100644
(file)
--- a/
drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/
drivers/net/wireless/wl12xx/wl1251_main.c
@@
-907,6
+907,7
@@
static int wl1251_op_hw_scan(struct ieee80211_hw *hw,
ret = wl1251_cmd_scan(wl, ssid, ssid_len, req->channels,
req->n_channels, WL1251_SCAN_NUM_PROBES);
if (ret < 0) {
+ wl1251_debug(DEBUG_SCAN, "scan failed %d", ret);
wl->scanning = false;
goto out_sleep;
}