hostapd: Remove unused variable from hostapd_get_hw_features
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
This commit is contained in:
parent
dd09e424c2
commit
948d3a8731
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ static char * dfs_info(struct hostapd_channel_data *chan)
|
||||||
int hostapd_get_hw_features(struct hostapd_iface *iface)
|
int hostapd_get_hw_features(struct hostapd_iface *iface)
|
||||||
{
|
{
|
||||||
struct hostapd_data *hapd = iface->bss[0];
|
struct hostapd_data *hapd = iface->bss[0];
|
||||||
int ret = 0, i, j;
|
int i, j;
|
||||||
u16 num_modes, flags;
|
u16 num_modes, flags;
|
||||||
struct hostapd_hw_modes *modes;
|
struct hostapd_hw_modes *modes;
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ int hostapd_get_hw_features(struct hostapd_iface *iface)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue