]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Add WMM parameters while updating TDLS peer entry
authorSunil Dutt <usdutt@codeaurora.org>
Mon, 22 Jul 2019 16:04:27 +0000 (21:34 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 26 Jul 2019 12:42:22 +0000 (15:42 +0300)
commit968520da8f301784c06f4817fdca5403552e5bb5
tree2f0864d526e7a65b811df0ee59d71cb0c5d292f7
parent5a511924b1c0436eb210d3162e2fe8dc00c2ee5c
nl80211: Add WMM parameters while updating TDLS peer entry

The AP mode fix for removing NL80211_ATTR_STA_WME from
NL80211_CMD_SET_STATION did not consider the TDLS case and that resulted
in incorrectly removing WMM parameters from TDLS STA entry updates. Fix
this by considering the WPA_STA_TDLS_PEER flag similarly to the other
update parameters.

Fixes: 6d14b98fc6fc ("nl80211: Do not add WMM parameters when updating an existing STA entry")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211.c