mac80211: restrict to AP in outgoing interface heuristic
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 5 Feb 2009 23:27:32 +0000 (00:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Feb 2009 16:27:17 +0000 (11:27 -0500)
commitf1b33cb1c25ac476cbf22783f9ca2016f99648ed
tree4ea130220e8299c367c3e1b3d39e9bded425d534
parentfcf6b1bca8cdfefc986909b57277af4628955bd8
mac80211: restrict to AP in outgoing interface heuristic

We try to find the correct outgoing interface for injected frames
based on the TA, but since this is a hack for hostapd 11w, restrict
the heuristic to AP mode interfaces. At some point we'll add the
ability to give an interface index in radiotap or so and just
remove this heuristic again.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: stable@kernel.org [2.6.28.x]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c