mac80211: use TDLS initiator in tdls_mgmt operations
authorArik Nemtsov <arik@wizery.com>
Wed, 11 Jun 2014 14:18:22 +0000 (17:18 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 12:24:55 +0000 (14:24 +0200)
commit2fb6b9b8e5f08df31bc4081b4d9f38701c59cfd3
treeec373267cf6f234c4697d6c6c4b2323184b4547a
parent31fa97c5defca3895dc6c823096d7ba59df76125
mac80211: use TDLS initiator in tdls_mgmt operations

The TDLS initiator is set once during link setup. If determines the
address ordering in the link identifier IE.
Use the value from userspace in order to have a correct teardown packet.
With the current code, a teardown from the responder side fails the TDLS
MIC check because of a bad link identifier IE.

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