[PATCH] wpa_supplicant: multi_ap: only enable 4addr mode if not already enabled

Raphaël Mélotte raphael.melotte at mind.be
Tue Feb 16 03:55:55 EST 2021

On 2/13/21 11:56 PM, Jouni Malinen wrote:
> On Mon, Feb 08, 2021 at 06:28:23PM +0100, Raphaël Mélotte wrote:
>> If 4addr mode is already enabled, the call to enable it a second time
>> may fail. If this happens when roaming, it leads to deauthentication.
> Based on the discussion, I addressed this issue differently by ignoring
> the nl80211 command failure when trying to enable the 4addr mode in case
> it is already enabled.

I confirm the issue which lead me to send this patch is fixed with 

I was wondering if it was possible to use a bridge in the tests to reproduce the 
original issue with hwsim, but now I see that the test is already there :-)


More information about the Hostap mailing list