mac80211: ignore frames between TDLS peers when operating as AP
authorArik Nemtsov <arik@wizery.com>
Thu, 17 Jul 2014 14:14:30 +0000 (17:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Jul 2014 10:14:05 +0000 (12:14 +0200)
commitdb8e173245535e7e91603e3e69bc63722a82ed81
tree2a5a44281e096c179075155d489153a3b1c99f16
parentc72e1140463a643579c3f9e09f990e71e95671ac
mac80211: ignore frames between TDLS peers when operating as AP

If the AP receives actions frames destined for other peers, it may
mistakenly toggle BA-sessions from itself to a peer.
Ignore TDLS data packets as well - the AP should not handle them.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c