mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
eap-peap: Relax the M bit requirement
Some of the PEAP server implementation brake the protocol and don’t set the M flag for the first packet during the fragmented transmission. To stay compatible with such devices, we relax this requirement in iwd.
This commit is contained in:
parent
d5dd1a4e90
commit
9976007dd8
@ -589,7 +589,7 @@ static bool eap_peap_init_request_assembly(struct eap_state *eap,
|
||||
uint8_t flags) {
|
||||
struct eap_peap_state *peap = eap_get_data(eap);
|
||||
|
||||
if (peap->rx_pdu_buf || !(flags & PEAP_FLAG_M) || len < 4)
|
||||
if (peap->rx_pdu_buf || len < 4)
|
||||
return false;
|
||||
|
||||
peap->rx_pdu_buf_len = l_get_be32(pkt);
|
||||
|
Loading…
Reference in New Issue
Block a user