mac80211: update opmode when adding new station

Update the operating mode field is needed when an association
request contains the operating mode notification element and
it's not just changed later on the fly.

Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com>
[clarify commit log, comments & fix whitespace]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Marek Kwaczynski 2014-02-03 14:44:44 +01:00 • committed by Johannes Berg
commit b1bce14a79
3 changed files with 34 additions and 7 deletions