]> err.no Git - linux-2.6/commit
ipw2200: queue direct scans
authorDan Williams <dcbw@redhat.com>
Mon, 2 Jun 2008 21:51:23 +0000 (17:51 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jun 2008 19:50:16 +0000 (15:50 -0400)
commitea177305b321a4127e448b88de20d5792682ace1
tree8623f4068d433f9aa0685e87080965427816c67e
parent24b95685ffcdb3dc28f64b9e8af6ea3e8360fbc5
ipw2200: queue direct scans

When another scan is in progress, a direct scan gets dropped on the
floor.  However, that direct scan is usually the scan that's really
needed by userspace, and gets stomped on by all the broadcast scans the
ipw2200 driver issues internally.  Make sure the direct scan happens
eventually, and as a bonus ensure that the passive scan worker is
cleaned up when appropriate.

The change of request_passive_scan form a struct work to struct
delayed_work is only to make the set_wx_scan() code a bit simpler, it's
still only used with a delay of 0 to match previous behavior.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.h