nl80211: renumber NL80211_FEATURE_FULL_AP_CLIENT_STATE
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Feb 2013 10:56:13 +0000 (11:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:44 +0000 (09:41 +0100)
commit932dd97c5fef091dd6f605fb1d40143d67d91e09
tree7d62a0dcec35e5485bde0e750bf69f1ec32d63c2
parentdf881293c6ba9a12868491a717b25cb14ec1fa4a
nl80211: renumber NL80211_FEATURE_FULL_AP_CLIENT_STATE

Adding the flag to mac80211 already without testing was
clearly a mistake, one that we now pay for by having to
reserve bit 13 forever. The problem is cfg80211 doesn't
allow capability/rate changes for station entries that
were added unassociated, so the station entries cannot
be set up properly when marked associated.

Change the NL80211_FEATURE_FULL_AP_CLIENT_STATE value
to make it clear to userspace implementations that all
current kernels don't actually support it, even though
the previous bit is set, and of course also remove the
flag from mac80211 until we test and fix the issues.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/mac80211/main.c