mac80211: do not pass injected frames without a valid rate to the driver
authorFelix Fietkau <nbd@openwrt.org>
Wed, 2 Mar 2016 14:54:51 +0000 (15:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 08:58:21 +0000 (10:58 +0200)
commit07310a63147164eaf44a68932fbe9dbbde0fa82b
tree26454bca9e77f0d39a4a63b8da58d1de5ca68f71
parentf66b60f6524c970d43af7a68dd50dcce289887e7
mac80211: do not pass injected frames without a valid rate to the driver

Fall back to rate control if the requested bitrate was not found.

Fixes: dfdfc2beb0dd ("mac80211: Parse legacy and HT rate in injected frames")
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c