diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-10-30 19:12:21 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-06 22:37:09 +0100 |
commit | 964d2777438bf7687324243d38ade538d9bbfe3c (patch) | |
tree | 53a738873641c73899846298d0a9b3351697d5fa /net/rfkill | |
parent | iwlwifi: clear scanning bits upon failure (diff) | |
download | linux-964d2777438bf7687324243d38ade538d9bbfe3c.tar.xz linux-964d2777438bf7687324243d38ade538d9bbfe3c.zip |
iwlagn: avoid sleep in softirq context
__ieee80211_tasklet_handler -> __ieee80211_rx ->
__ieee80211_rx_handle_packet -> ieee80211_invoke_rx_handlers ->
ieee80211_rx_h_decrypt -> ieee80211_crypto_tkip_decrypt ->
ieee80211_tkip_decrypt_data -> iwl4965_mac_update_tkip_key ->
iwl_scan_cancel_timeout -> msleep
Ooops!
Avoid the sleep by changing iwl_scan_cancel_timeout with
iwl_scan_cancel and simply returning on failure if the scan persists.
This will cause hardware decryption to fail and we'll handle a few more
frames with software decryption.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions