]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: clear more-data bit on filtered frames
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Sep 2011 14:04:31 +0000 (16:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:14 +0000 (15:57 -0400)
commitfabcf907e2385739a00d65b47ebc7c249eaf1d51
treea392ea00c6b9bfad4a68f0243cf827dd6047ba41
parent36a1d560d38de1df988e6e76d7c842274f0a2919
mac80211: clear more-data bit on filtered frames

It doesn't seem likely, but maybe possible, that the
more-data bit needs to be recomputed due to changes
in the queued frames. Clear it for filtered frames
to ensure that we never send it incorrectly. It'll
be set again as necessary when we retransmit this
frame.

The more likely case is maybe where the station woke
up after the filtered frame in which case more-data
should be clear when the frame is transmitted to the
station since it is now awake.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/status.c