]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: avoid pointless station lookup
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Mar 2015 15:01:52 +0000 (16:01 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Mar 2015 15:27:36 +0000 (16:27 +0100)
commit694a62b6c0f891eafb6ff1234ea7e8e51e60b454
treef6f1c3c220af922320ece867a35ec4a0d69c814c
parente0ff85642a45107730491f2984cbdbe718de40a2
mac80211: mesh: avoid pointless station lookup

In ieee80211_build_hdr(), the station is looked up to build the
header correctly (QoS field) and to check for authorization. For
mesh, authorization isn't checked here, and QoS capability is
mandatory, so the station lookup can be avoided.

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