[PATCH] driver_nl80211: fix send_mlme to use monitor interface only for AP interface

Jouni Malinen j at w1.fi
Wed Aug 25 06:53:08 PDT 2021

On Tue, Jul 13, 2021 at 07:05:23PM +0000, Ajay.Kathat at microchip.com wrote:
> Use monitor interface to send_mlme only when the interface is configured in AP
> mode. In multiple interface setup, one interface can be configured in AP mode
> using monitor interface and another interface in station mode. The station
> interface may also require sending the management frames without using monitor
> interface e.g support external SAE authentication to send AUTH frames without
> monitor interface. This change allows sending management frames to driver for
> station interface where AP interface uses monitor interface.
> Additionally, the monitor interface is only valid for AP mode
> (nl80211_create_monitor_interface() is called in nl80211_setup_ap) so interface
> type check ensures to use monitor interface only when required by the specific
> interface.

Thanks, applied.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list