wl1251: cleanup scanning code
authorKalle Valo <kalle.valo@nokia.com>
Tue, 5 Jan 2010 18:16:51 +0000 (20:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 18:51:26 +0000 (13:51 -0500)
commit3a98c30f3e8bb1f32b5bcb74a39647b3670de275
treef24eb2e787dab86f3c90ffe4d0f5e92e6fff2d59
parent7c12ce8b854df346388ea56d684784e3484012cf
wl1251: cleanup scanning code

The current scanning code wasn't following the preferred style. Move code
related to scan and trigger scan to commans to wl1251_cmd.c. Because
there's now less code in wl1251_hw_scan(), the function can be now
merged with wl1251_op_hw_scan().

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_cmd.c
drivers/net/wireless/wl12xx/wl1251_cmd.h
drivers/net/wireless/wl12xx/wl1251_main.c