]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Do not try to change STA capability on NL80211_CMD_SET_STATION
authorJouni Malinen <j@w1.fi>
Thu, 20 Nov 2014 14:25:00 +0000 (16:25 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 20 Nov 2014 14:31:05 +0000 (16:31 +0200)
commite503861f4d34c0951e2547d5400bfafb9e56f3ea
treefc30fd1c7e9e293ef874c651f13a6e125d8c84d8
parentf6d1c5d9f85f2cda83dbce567d774db79ab8aa89
nl80211: Do not try to change STA capability on NL80211_CMD_SET_STATION

cfg80211 will reject any of these attributes regardless of whether the
values actually change or not when NL80211_CMD_SET_STATION is used for
something else than TDLS. This path is hit at least when setting up
mesh, so filter out the attributes from NL80211_CMD_SET_STATION to match
the rules in cfg80211.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c