projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd09e42
)
hostapd: Remove unused variable from hostapd_get_hw_features
author
Avraham Stern
<avraham.stern@intel.com>
Mon, 19 Jan 2015 01:44:36 +0000
(20:44 -0500)
committer
Jouni Malinen
<j@w1.fi>
Tue, 20 Jan 2015 00:10:33 +0000
(
02:10
+0200)
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
src/ap/hw_features.c
patch
|
blob
|
history
diff --git
a/src/ap/hw_features.c
b/src/ap/hw_features.c
index
f6d79ea
..
05431d3
100644
(file)
--- a/
src/ap/hw_features.c
+++ b/
src/ap/hw_features.c
@@
-75,7
+75,7
@@
static char * dfs_info(struct hostapd_channel_data *chan)
int hostapd_get_hw_features(struct hostapd_iface *iface)
{
struct hostapd_data *hapd = iface->bss[0];
- int
ret = 0,
i, j;
+ int i, j;
u16 num_modes, flags;
struct hostapd_hw_modes *modes;
@@
-138,7
+138,7
@@
int hostapd_get_hw_features(struct hostapd_iface *iface)
}
}
- return
ret
;
+ return
0
;
}