From: Johannes Berg Date: Thu, 9 Jan 2014 10:05:31 +0000 (+0100) Subject: mac80211: fix PS-Poll driver release TID X-Git-Tag: v3.14-rc1~94^2~113^2^2~36^2~17 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a1cb80975b67e29d572b28c1621203d1d74f4d3;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed