Remove unused parameters from set_rate_sets()
Only setting of the basic rate set was supported, so remove the unused parameters. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e26cd1a180
commit
5f17b3ee9f
5 changed files with 7 additions and 15 deletions
|
@ -126,8 +126,7 @@ int hostapd_prepare_rates(struct hostapd_data *hapd,
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (hostapd_set_rate_sets(hapd, hapd->iconf->supported_rates,
|
||||
basic_rates, mode->mode)) {
|
||||
if (hostapd_set_rate_sets(hapd, basic_rates)) {
|
||||
wpa_printf(MSG_ERROR, "Failed to update rate sets in kernel "
|
||||
"module");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue