[PATCH] ipw2200: disallow direct scanning when device is down
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 16 Nov 2005 19:55:05 +0000 (21:55 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 17 Nov 2005 16:32:58 +0000 (08:32 -0800)
commitefb3442cf1c65747a858476e10f705612383eed1
treea093915da40a7887a8c8a3f927177764a55d33d2
parent0db169f9703115bab09eda5d89a8f6937a7bf98e
[PATCH] ipw2200: disallow direct scanning when device is down

The function ipw_request_direct_scan() should bail out when the device
is down.  This fixes a lockup caused by wpa_supplicant triggering
ipw_request_direct_scan() while the driver was in a middle of a reset
due to firmware errors.

Thanks to Zilvinas Valinskas for reporting the bug and helping me
debug it.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/wireless/ipw2200.c