carl9170: fix frame delivery if sta is in powersave mode
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 25 Feb 2012 20:36:36 +0000 (21:36 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Feb 2012 18:08:51 +0000 (13:08 -0500)
commit9926a67557532acb6cddb1c1add02952175b5c72
tree35330f84ef1fd0a3bed21ee8c27b951bc9779b9a
parent992d52529d7840236d3059b51c15d5eb9e81a869
carl9170: fix frame delivery if sta is in powersave mode

Nicolas Cavallari discovered that carl9170 has some
serious problems delivering data to sleeping stations.

It turns out that the driver was not honoring two
important flags (IEEE80211_TX_CTL_POLL_RESPONSE and
IEEE80211_TX_CTL_CLEAR_PS_FILT) which are set on
frames that should be sent although the receiving
station is still in powersave mode.

Cc: stable <stable@vger.kernel.org>
Reported-by: Nicolas Cavallari <Nicolas.Cavallari@lri.fr>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/tx.c