iwlwifi: don't modify the timer if we don't Tx
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 10 Jun 2012 15:25:09 +0000 (18:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jun 2012 07:01:07 +0000 (09:01 +0200)
commit49a4fc20df7fced31ffe4038b32b86a0438d1c27
treeae2f17f97dce8ebb570ac3b3e5da14950867644d
parentf609607c009140491dd134f0165d9a8f9f726114
iwlwifi: don't modify the timer if we don't Tx

In fragmentation we don't update the write pointer of the
HW immediately. So we shouldn't modify the timer in that
case.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c