]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iwl3945: enable stuck queue detection on 3945
authorReinette Chatre <reinette.chatre@intel.com>
Thu, 20 May 2010 17:54:40 +0000 (10:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:19 +0000 (10:30 -0700)
commit a6866ac93e6cb68091326e80b4fa4619a5957644 upstream.

We learn from
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=1834 and
https://bugzilla.redhat.com/show_bug.cgi?id=589777
that 3945 can also suffer from a stuck command queue. Enable stuck queue
detection for iwl3945 to enable recovery in this case.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlwifi/iwl-3945.c

index caebec46b3e4d3f8c5c77e9dbaf9c1669b2a6f53..c92fbe4d8d7fc416a45a061ffd93eaf7fbb2c22d 100644 (file)
@@ -2792,6 +2792,7 @@ static struct iwl_lib_ops iwl3945_lib = {
        .isr = iwl_isr_legacy,
        .config_ap = iwl3945_config_ap,
        .add_bcast_station = iwl3945_add_bcast_station,
+       .recover_from_tx_stall = iwl_bg_monitor_recover,
 };
 
 static struct iwl_hcmd_utils_ops iwl3945_hcmd_utils = {