mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
Some APs may incorrectly change Device Password ID from PBC in M1 to Default PIN in M2 even when they are ready to continue with PBC. This behavior used to work with earlier implementation in wpa_supplicant, but commit b4a17a6ea74b2ffba082e05c84730e979513042c started validating this as part of a change that is needed to support NFC configuration method. While this kind of AP behavior is against the WSC specification and there could be potential use cases for moving from PBC to PIN, e.g., in case of PBC session overlap, it is justifiable to work around this issue to avoid interoperability issues with deployed APs. There are no known implementations of PBC-to-PIN change from M1 to M2, so this should not reduce available functionality in practice. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>