[PATCH 1/2] NAN: Set the NMI station MFP flag before starting pairing

Jouni Malinen j at w1.fi
Sat Nov 28 07:03:49 PST 2026


On Tue, Nov 24, 2026 at 05:13:08PM +0200, Andrei Otcheretianski wrote:
> When a pairing responder already has a pending PASN M1, starting the
> pairing builds and sends M2 synchronously. Since the NM-TK is now
> installed before M2 transmission, the key is installed before
> nan_pairing_initiate_pasn_auth() returns, while the MFP flag of the
> NMI station was set only afterwards.
> 
> Set the MFP flag before starting PASN and unset it on failure.

Thanks, both patches applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list