mac80211: check for MCS in ieee80211_duration before fetching chanctx
authorFelix Fietkau <nbd@nbd.name>
Wed, 14 Dec 2016 19:46:57 +0000 (20:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 15 Dec 2016 10:07:52 +0000 (11:07 +0100)
commit95cd470c75a8822d35fa82a1b276d47da37229d1
treed26a2e506e850d38e913c05d5ad437f52ca6e3fc
parent70550df2d354f13ae0544f12aa14b79f094f0de2
mac80211: check for MCS in ieee80211_duration before fetching chanctx

Makes the code a bit more efficient

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c