BSD driver: pointer assignment of incompatible type

Jouni Malinen j at w1.fi
Tue Jul 28 06:31:24 PDT 2026


On Thu, Jul 09, 2026 at 11:34:00AM +0000, Máximo Castañeda wrote:
> Commit ebffcffd7a74ab164af149f4cdf7b17169350b98 (P2P2: Set P2P mode (R1 vs. R2) in the driver) changed the signature of wpa_driver_ops.init2. For BSD driver the new parameter was added to bsd_init, corresponding to hapd_init, instead of wpa_driver_bsd_init.

Thanks for reporting this. This is now fixed here:
https://git.w1.fi/cgit/hostap/commit/?id=581e44303389197f84a23ed3fad3b6c1782af1fc

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list