]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Ignore 4addr mode enabling error if it was already enabled
authorJouni Malinen <j@w1.fi>
Sat, 13 Feb 2021 21:59:28 +0000 (23:59 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 13 Feb 2021 21:59:28 +0000 (23:59 +0200)
commit58bbbb5981440da508164cbd423ca5dd7c1b98d8
tree0735da40b2b0fb675a639aaf67b1ba10f73d89f8
parent1b45b8d3f6b246ea499633d4e23d6788b4ec352c
nl80211: Ignore 4addr mode enabling error if it was already enabled

nl80211_set_4addr_mode() could fail when trying to enable 4addr mode on
an interface that is in a bridge and has 4addr mode already enabled.
This operation would not have been necessary in the first place and this
failure results in disconnecting, e.g., when roaming from one backhaul
BSS to another BSS with Multi AP.

Avoid this issue by ignoring the nl80211 command failure in the case
where 4addr mode is being enabled while it has already been enabled.

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