mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-31 23:42:52 +01:00
ttls: fix check on avp start
This commit is contained in:
parent
50acc11f07
commit
b2ec0c350a
@ -102,7 +102,7 @@ static bool avp_builder_start_avp(struct avp_builder *builder,
|
||||
{
|
||||
uint8_t *p;
|
||||
|
||||
if (!builder->current_len && builder->offset)
|
||||
if (builder->current_len)
|
||||
return false;
|
||||
|
||||
if (builder->offset + TTLS_AVP_HEADER_LEN + (vendor_id ? 4 : 0)
|
||||
|
Loading…
Reference in New Issue
Block a user