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. Both main and 2_12 are affected.