]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: restrict to AP in outgoing interface heuristic
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 5 Feb 2009 23:27:32 +0000 (00:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Feb 2009 17:28:45 +0000 (09:28 -0800)
commitd371ac207cde70ea31332b60dcbe52db77a76604
tree184718e99c0feed4f24113331e58bbceb35198db
parent7218ee2be8d92df31042f6dd0775ecddb0611145
mac80211: restrict to AP in outgoing interface heuristic

commit f1b33cb1c25ac476cbf22783f9ca2016f99648ed upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/tx.c