mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-22 11:34:07 +01:00
eapol: Make eapol_find_rsne non-static
EAPoL server can reuse this function.
This commit is contained in:
parent
6be08a3604
commit
275cc2789d
@ -1005,7 +1005,7 @@ error_unspecified:
|
|||||||
handshake_failed(sm, MMPDU_REASON_CODE_UNSPECIFIED);
|
handshake_failed(sm, MMPDU_REASON_CODE_UNSPECIFIED);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const uint8_t *eapol_find_rsne(const uint8_t *data, size_t data_len,
|
const uint8_t *eapol_find_rsne(const uint8_t *data, size_t data_len,
|
||||||
const uint8_t **optional)
|
const uint8_t **optional)
|
||||||
{
|
{
|
||||||
struct ie_tlv_iter iter;
|
struct ie_tlv_iter iter;
|
||||||
|
@ -169,6 +169,9 @@ struct eapol_key *eapol_create_gtk_2_of_2(
|
|||||||
uint64_t key_replay_counter,
|
uint64_t key_replay_counter,
|
||||||
bool is_wpa, uint8_t wpa_key_id);
|
bool is_wpa, uint8_t wpa_key_id);
|
||||||
|
|
||||||
|
const uint8_t *eapol_find_rsne(const uint8_t *data, size_t data_len,
|
||||||
|
const uint8_t **optional);
|
||||||
|
|
||||||
void __eapol_rx_packet(uint32_t ifindex, const uint8_t *aa, uint16_t proto,
|
void __eapol_rx_packet(uint32_t ifindex, const uint8_t *aa, uint16_t proto,
|
||||||
const uint8_t *frame, size_t len);
|
const uint8_t *frame, size_t len);
|
||||||
void __eapol_set_tx_packet_func(eapol_tx_packet_func_t func);
|
void __eapol_set_tx_packet_func(eapol_tx_packet_func_t func);
|
||||||
|
Loading…
Reference in New Issue
Block a user