diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-01-02 13:30:03 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-11 15:14:50 -0500 |
commit | bdd3ae3d1e749cf6597f035a5357f297a1af8eb3 (patch) | |
tree | 919de2a3adaf00d99c9d3b726c2a47a75026540f /net/mac80211/wpa.c | |
parent | 1a19f77f3642b8194ad9cf55548cc5d92e841766 (diff) | |
download | linux-bdd3ae3d1e749cf6597f035a5357f297a1af8eb3.tar.bz2 |
nl80211: fix old station flags compatibility
My patch to validate station flags broke compatibility
with the old station flags setting where all flags are
always set at once since it always set the mask as all
possible flags which ended up being rejected later in
the station add/modify code.
Fix by parsing only the current flags in the old flags
attribute -- new applications and new flags should use
(and will now require) the new flags attribute where
the mask is given by the application.
Reported-and-tested-by: Thomas Hilber <ath9k-dev@toh.cx>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wpa.c')
0 files changed, 0 insertions, 0 deletions