wl12xx: check for ROC on scan_complete
authorEliad Peller <eliad@wizery.com>
Sun, 28 Aug 2011 12:11:55 +0000 (15:11 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 14 Sep 2011 08:47:26 +0000 (11:47 +0300)
commite0b38265b035a8a2ea05071b67b997f5db181c45
tree8e00dec092e67d961ee2d9392908f391674e2b3f
parent2ec7da254c5bdb5fe1dc18f8f5bdbe32deb3c466
wl12xx: check for ROC on scan_complete

When scan completes, and we are not associated, we should start
the dev role and ROC. however, we might already be in this situation
(e.g. if we got disconnected during scan). check for it.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/scan.c