]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: remove powersave warning
authorJohannes Berg <johannes.berg@intel.com>
Tue, 16 Nov 2010 19:51:04 +0000 (11:51 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 25 Nov 2010 00:58:06 +0000 (16:58 -0800)
commitf15c304479adc45ac10536ec8dd5cc2408a9c865
tree95557c0d0ba84e703055cf25a7214d18128015b4
parent95c897363068934689201de072f68f7fd5485624
iwlagn: remove powersave warning

Through races, a packet may be enqueued for
transmission to a station while that station
is going to sleep, in which case the warning
here triggers. Instead of warning, check the
condition -- if this packet is not a PS-poll
response then we still enqueue it but it will
be rejected by the device since the station
is marked as asleep.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c