3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

ap: rename ap_parse_ie to be more descriptive

This is only used for NEW_STATION parsing so name appropriately
This commit is contained in:
James Prestwood 2021-01-29 10:47:24 -08:00 committed by Denis Kenzior
parent c09e97689b
commit 4635e095ba

View File

@ -2197,7 +2197,8 @@ error:
ap_start_failed(ap);
}
static bool ap_parse_ie(const void *data, uint16_t len, uint8_t **rsn_out,
static bool ap_parse_new_station_ies(const void *data, uint16_t len,
uint8_t **rsn_out,
struct l_uintset **rates_out)
{
struct ie_tlv_iter iter;
@ -2255,7 +2256,8 @@ static void ap_handle_new_station(struct ap_state *ap, struct l_genl_msg *msg)
while (l_genl_attr_next(&attr, &type, &len, &data)) {
switch (type) {
case NL80211_ATTR_IE:
if (!ap_parse_ie(data, len, &assoc_rsne, &rates))
if (!ap_parse_new_station_ies(data, len, &assoc_rsne,
&rates))
return;
break;
case NL80211_ATTR_MAC: