wlcore: always use wlvif->role_id for scans
authorEliad Peller <eliad@wizery.com>
Thu, 26 Jul 2012 14:17:05 +0000 (17:17 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:52 +0000 (12:13 +0300)
commit8dc574308b9172e2a38ac20319b7dd696b6d4741
tree0b0e9aacd809a2c69228d9afdaf51f57d9892da8
parentfc3d1db5b60ebb81f9ce2ac3a1192f2c763ab504
wlcore: always use wlvif->role_id for scans

enabled (but not-started) sta role should be good enough
for scanning (both normal and scheduled), so use it
instead of the device_role.

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