From: Johannes Berg Date: Fri, 24 Jul 2009 11:23:09 +0000 (+0200) Subject: mac80211: fix PS-poll response, race X-Git-Tag: v2.6.32-rc1~703^2~506^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fa52056f3a8e755708241d5795e6d3e6f55ad85;p=pandora-kernel.git mac80211: fix PS-poll response, race When a station queries us for a PS-poll response, we wrongly queue the frame on the virtual interface's queue rather than the pending queue. Additionally, fix a race condition where we could potentially send multiple frames to the sleeping station due to using a station flag rather than a packet flag. When converting to a packet flag, we can also convert p54 and remove the filter clearing we added for it. (Also remove a now dead function) Signed-off-by: Johannes Berg Reported-by: Bob Copeland Tested-by: Bob Copeland Cc: Christian Lamparter Signed-off-by: John W. Linville --- Reading git-diff-tree failed