iwlwifi: mvm: use tdls indication from mac80211
authorJohannes Berg <johannes.berg@intel.com>
Mon, 4 Aug 2014 12:33:42 +0000 (14:33 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:49:11 +0000 (22:49 +0300)
commit9e848010bfa1c0da21292afb7a98957b5c35622d
treeb692cdc3d940923b8cffb03275aa65cf8ac5a830
parentdf197c00bf1dbdee888aa886e5e93b49b42a268b
iwlwifi: mvm: use tdls indication from mac80211

Instead of checking whether a given station is the first to
be added on a client interface check for the new TDLS flag
and warn in the unexpected cases.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/sta.c