wl12xx: don't allow scanning while device is in ROC
authorEliad Peller <eliad@wizery.com>
Sun, 4 Mar 2012 08:55:52 +0000 (10:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 5 Mar 2012 13:45:25 +0000 (15:45 +0200)
commit97fd311a2615d8f35e796b11a14b6cf3d335d423
treea0bee642ba33b98d0488920cbc411f6e9e4e68a7
parent121af04995d29e3287b849a768789c668d39dce3
wl12xx: don't allow scanning while device is in ROC

return EBUSY on scan when there is any role
in ROC (not necessarily the one we are going
to use)

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