wl12xx: use dev_role_id for scans
authorEliad Peller <eliad@wizery.com>
Tue, 31 Jan 2012 09:57:17 +0000 (11:57 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:30 +0000 (08:38 +0200)
commitc059beb2adbf632748ac63ea829c69437575761a
treec207421eba3b0a007285560774af6707e7b64a79
parentcdaac6281170ee2934ad443cb60fbdd6cf318b64
wl12xx: use dev_role_id for scans

Use device role for scans when the sta is not
associated.

sched_scan is used only when the sta is
not associated, and thus should use
the dev role (instead of sta role).

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