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)
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>

No differences found