mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
P2P: Parse preferred frequency list extension
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
b841cf2fa6
commit
def8f7035d
@ -643,6 +643,9 @@ struct p2p_message {
|
||||
const u8 *persistent_dev;
|
||||
const u8 *persistent_ssid;
|
||||
size_t persistent_ssid_len;
|
||||
|
||||
const u8 *pref_freq_list;
|
||||
size_t pref_freq_list_len;
|
||||
};
|
||||
|
||||
|
||||
|
@ -548,6 +548,9 @@ int p2p_parse_ies(const u8 *data, size_t len, struct p2p_message *msg)
|
||||
}
|
||||
#endif /* CONFIG_WIFI_DISPLAY */
|
||||
|
||||
msg->pref_freq_list = elems.pref_freq_list;
|
||||
msg->pref_freq_list_len = elems.pref_freq_list_len;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user