mac80211: make sure TDLS peer STA exists during setup
authorArik Nemtsov <arik@wizery.com>
Wed, 11 Jun 2014 14:18:26 +0000 (17:18 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 12:28:18 +0000 (14:28 +0200)
commit7adc3e4664bc5bd382fa181e6a4506f5b5b583d8
tree7384beda7ccdab431af7d3fdfdb8003aab6b17ad
parentc887f0d3a03283cb6fe2c32aae62229bebd3fa32
mac80211: make sure TDLS peer STA exists during setup

Make sure userspace added a TDLS peer station before invoking the
transmission of the first setup frame. This ensures packets to the peer
won't go through the AP path.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c