[v2] hostapd: Check the bridge after ioctl SIOCBRADDIF failed

Jouni Malinen j at w1.fi
Sat Dec 16 10:54:48 PST 2023

On Thu, Dec 14, 2023 at 10:08:47AM +0800, Michael-CY Lee wrote:
> If ioctl returns EBUSY on the command SIOCBRADDIF, the interface might
> already be bridged by others (e.g. netifd in OpenWrt), and linux_br_add_if
> should not indicate an error.
> This patch checks whether the interface is correctly brigded when ioctl
> returns EBUSY.

Thanks, applied.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list