mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
SME: Fix a sign-compare warning
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
df4733dff9
commit
849367afe9
@ -169,8 +169,8 @@ static void sme_auth_handle_rrm(struct wpa_supplicant *wpa_s,
|
||||
return;
|
||||
}
|
||||
|
||||
if (sizeof(wpa_s->sme.assoc_req_ie) - wpa_s->sme.assoc_req_ie_len <
|
||||
rrm_ie_len + 2) {
|
||||
if (sizeof(wpa_s->sme.assoc_req_ie) <
|
||||
wpa_s->sme.assoc_req_ie_len + rrm_ie_len + 2) {
|
||||
wpa_printf(MSG_INFO,
|
||||
"RRM: Unable to use RRM, no room for RRM IE");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user