cfg80211: disallow more station changes
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Dec 2012 16:32:09 +0000 (17:32 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:45 +0000 (13:01 +0100)
commitba23d2068d85f6616ea5f92320c04e87d4b9e141
tree8ea8b7d8ab39ada84c967531875aef24892667d6
parent21add825f90a50407e0121833c8b7cd2c071c478
cfg80211: disallow more station changes

The following changes are invalid and should be
disallowed when a station already exists:
 * supported rates changes, except for TDLS peers
 * listen interval changes
 * HT capability changes

Disallow them and also update a mac80211 comment
explaining how they would be racy.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/wireless/nl80211.c