Remove unused assignment from Country element generation
This looks confusing and can cause warnings from static analyzers. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
33b5fc0763
commit
da8a38fecb
1 changed files with 1 additions and 3 deletions
|
@ -239,12 +239,10 @@ static u8 * hostapd_fill_subband_triplets(struct hostapd_data *hapd, u8 *pos,
|
||||||
continue; /* can use same entry */
|
continue; /* can use same entry */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (start && prev) {
|
if (start && prev)
|
||||||
pos = hostapd_eid_country_add(hapd, pos, end,
|
pos = hostapd_eid_country_add(hapd, pos, end,
|
||||||
chan_spacing,
|
chan_spacing,
|
||||||
start, prev);
|
start, prev);
|
||||||
start = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Start new group */
|
/* Start new group */
|
||||||
start = prev = chan;
|
start = prev = chan;
|
||||||
|
|
Loading…
Reference in a new issue