From 83af5b017059f618ffecb9ce222e0a29720f0974 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 5 Apr 2019 16:27:36 -0500 Subject: [PATCH] mpdu: Drop unused argument --- src/mpdu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpdu.c b/src/mpdu.c index 8c2ded97..90059b3b 100644 --- a/src/mpdu.c +++ b/src/mpdu.c @@ -50,7 +50,7 @@ static bool validate_mgmt_header(const struct mmpdu_header *mpdu, } /* 802.11-2016 13.11.2 */ -static bool skip_resource_req_resp(struct ie_tlv_iter *iter, bool response) +static bool skip_resource_req_resp(struct ie_tlv_iter *iter) { struct ie_tlv_iter tmp; @@ -121,7 +121,7 @@ static bool validate_mgmt_ies(const uint8_t *ies, size_t ies_len, last_idx++; if (tag == IE_TYPE_RIC_DATA && - !skip_resource_req_resp(&iter, response)) + !skip_resource_req_resp(&iter)) return false; new_idx = last_idx;