iwlagn: fix the bit mask of a FH register in stop Tx DMA flow
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 29 Jun 2010 18:29:49 +0000 (11:29 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 9 Jul 2010 17:17:24 +0000 (10:17 -0700)
commit9726f347f82b0ce802530deb00ee2dde369e1d2f
treec34f85766da18b444c08465b8c0bc96c6e2c8e68
parent41691de32664f06507c24cea499b307624e3183e
iwlagn: fix the bit mask of a FH register in stop Tx DMA flow

When we stop the Tx DMA channels, we poll bits 16:31 in
FH_TSSR_RX_STATUS_REG. From 4965 and up, only the bits 16:26 are legal.
Bits 27:31 are not used and are always unset.
Polling them will lead to fail on timeout but since the timeout is quite
small, the stall was not felt.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
drivers/net/wireless/iwlwifi/iwl-fh.h