3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

peap: handle send for phase two data

This commit is contained in:
Tim Kourt 2018-02-14 16:14:47 -08:00 committed by Denis Kenzior
parent 8ae6e7c3de
commit 50b7a01f87

View File

@ -240,6 +240,13 @@ static void eap_peap_send_empty_response(struct eap_state *eap)
static void eap_peap_tunnel_data_send(const uint8_t *data, size_t data_len,
void *user_data)
{
struct eap_state *eap = user_data;
struct eap_peap_state *peap = eap_get_data(eap);
if (!peap->tx_pdu_buf)
peap->tx_pdu_buf = databuf_new(data_len);
databuf_append(peap->tx_pdu_buf, data, data_len);
}
static void eap_peap_tunnel_data_received(const uint8_t *data, size_t data_len,