commit 83af5b017059f618ffecb9ce222e0a29720f0974
parent 050db0b05496246d4b847f5257caec2837fb0549
Author: Denis Kenzior <denkenz@gmail.com>
Date: Fri, 5 Apr 2019 16:27:36 -0500
mpdu: Drop unused argument
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;