mac80211: add more missing checks for VHT tx rates
authorFelix Fietkau <nbd@openwrt.org>
Fri, 21 Nov 2014 22:29:14 +0000 (23:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 28 Nov 2014 13:24:23 +0000 (14:24 +0100)
commit336004e29115e47253f7e7d007df9e1f9e73dcdd
treed5b716a03ef225bb985154525fb6b5a2a1949832
parent24a0aa212ee2dbe44360288684478d76a8e20a0a
mac80211: add more missing checks for VHT tx rates

Fixes a crash on attempting to calculate the frame duration for a VHT
packet (which needs to be handled by hw/driver instead).

Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rate.c
net/mac80211/tx.c