]> 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)
commitd998276b27a66284e432129836b1efa305ad5f25
treefd80b39d90a80c1b6f83d748fc512dab5f15e5b5
parent1d90b39701e43846969a329d86dc3e844294b94f
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