]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix PS-Poll driver release TID
authorJohannes Berg <johannes.berg@intel.com>
Thu, 9 Jan 2014 10:05:31 +0000 (11:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2014 08:43:34 +0000 (09:43 +0100)
commit207433e557aafab051f39290f147eb23e36c6c17
treee91a130026f180de9cc883b92c25662e2bbc70cd
parent3ad26032d0d9c3c663428c2f343a463c958c281c
mac80211: fix PS-Poll driver release TID

Using ffs() for the PS-Poll release TID is wrong, it will cause
frames to be released in order 0 1 2 3 4 5 6 7 instead of the
correct 7 6 5 4 3 0 2 1. Fix this by adding a new function that
implements "highest priority TID" properly.

Reported-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c