Convert hostapd_prepare_rates() to use struct hostapd_iface

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2011-12-03 12:20:17 +02:00
parent e5693c4775
commit 34445d12ee
3 changed files with 23 additions and 23 deletions

View file

@ -743,7 +743,7 @@ int hostapd_setup_interface_complete(struct hostapd_iface *iface, int err)
}
if (iface->current_mode) {
if (hostapd_prepare_rates(hapd, iface->current_mode)) {
if (hostapd_prepare_rates(iface, iface->current_mode)) {
wpa_printf(MSG_ERROR, "Failed to prepare rates "
"table.");
hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211,