]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: factor out station lookup from ieee80211_build_hdr()
authorJohannes Berg <johannes.berg@intel.com>
Sat, 21 Mar 2015 08:13:45 +0000 (09:13 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Mar 2015 08:47:19 +0000 (10:47 +0200)
commite81fc198f9a33c27d2b890ce7fe17a11b42f64b6
treefd80b39d90a80c1b6f83d748fc512dab5f15e5b5
parent7eab9fb0bc87a15bda556aebb75f1a8dc1df3aa4
mac80211: factor out station lookup from ieee80211_build_hdr()

In order to look up the RA station earlier to implement a TX
fastpath, factor out the lookup from ieee80211_build_hdr().
To always have a valid station pointer, also move some of the
checks into the new function.

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