]> git.baikalelectronics.ru Git - kernel.git/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)
commit79768758a0dd3da361513dfc645c152dbd732fae
tree8623f4068d433f9aa0685e87080965427816c67e
parent5ee20b9df929a361b27aaafdbf170fa35ba8696c
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