mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
P2P NFC: Pass OOB Dev Password through P2P parser
This will be needed for processing the NFC connection handover messages for P2P. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
ab9e34426f
commit
fca9958607
@ -533,6 +533,8 @@ struct p2p_message {
|
||||
size_t model_number_len;
|
||||
const u8 *serial_number;
|
||||
size_t serial_number_len;
|
||||
const u8 *oob_dev_password;
|
||||
size_t oob_dev_password_len;
|
||||
|
||||
/* DS Parameter Set IE */
|
||||
const u8 *ds_params;
|
||||
|
@ -380,6 +380,9 @@ static int p2p_parse_wps_ie(const struct wpabuf *buf, struct p2p_message *msg)
|
||||
msg->serial_number = attr.serial_number;
|
||||
msg->serial_number_len = attr.serial_number_len;
|
||||
|
||||
msg->oob_dev_password = attr.oob_dev_password;
|
||||
msg->oob_dev_password_len = attr.oob_dev_password_len;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user