mac80211: set auth flags after other station info
authorArik Nemtsov <arik@wizery.com>
Wed, 11 Jun 2014 14:18:19 +0000 (17:18 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 12:24:55 +0000 (14:24 +0200)
commit68885a54cd04742a2e6e10e9d3ff5976d046832e
tree76bdd966f2c88d2047d5f73f314282da82a17bf9
parent9deba04d0f0b43ca60a867f006e06625ad85f8c2
mac80211: set auth flags after other station info

For TDLS, the AUTHORIZED flag arrives with all other important station
info (supported rates, HT/VHT caps, ...). Make sure to set the station
state in the low-level driver after transferring this information to
the mac80211 STA entry.
This aligns the STA information during sta_state callbacks with the
non-TDLS case.

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/cfg.c