mac80211: respect rate mask in TX
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Mon, 14 Oct 2013 09:04:28 +0000 (11:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Oct 2013 13:16:29 +0000 (15:16 +0200)
commit1d2d350bbf4a1ba6cef5e3dbb63c66da11814d9a
tree5c28b2b9449d4845d147ce025736c58a0f025d04
parent1431fcb74eb5c67d3c38db5e5fe60b726c204273
mac80211: respect rate mask in TX

Bitrate mask were not respected in transmissions, causing (for
example) P2P GO/client to use CCK rates for auth and assoc frames.
Fix it by considering the rate mask in __rate_control_send_low().

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rate.c