]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
nl80211: Do not add WMM parameters when updating an existing STA entry
authorJouni Malinen <jouni@codeaurora.org>
Wed, 27 Mar 2019 01:14:02 +0000 (03:14 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Wed, 27 Mar 2019 01:14:02 +0000 (03:14 +0200)
commit6d14b98fc6fcb4ac45bcd1febfbd947cd206084f
treeacf8fc9eaecd52a4c8f708d0f52fc524f9aae24b
parent2ffd8076ded3283503c83219fc9ee885c710804a
nl80211: Do not add WMM parameters when updating an existing STA entry

In the case of the driver not supporting full AP mode STA state (i.e.,
not adding a STA entry before association), the QoS parameters are not
allowed to be modified when going through (re)association exchange for a
STA entry that has not been removed from the kernel. cfg80211 would
reject such command to update STA flags, so do not add the WMM parameter
in this case.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211.c