aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-26 17:09:25 (GMT)
committerJouni Malinen <j@w1.fi>2009-04-20 09:00:17 (GMT)
commit8d2e8fb0a396a58f9faad20317e956e419422d14 (patch)
treec36e81fac3a4fb309de3d8608ae3915582914707
parent651acf8ed7829fbcaea11bb3fe8aad624156070e (diff)
downloadhostap-06-8d2e8fb0a396a58f9faad20317e956e419422d14.zip
hostap-06-8d2e8fb0a396a58f9faad20317e956e419422d14.tar.gz
hostap-06-8d2e8fb0a396a58f9faad20317e956e419422d14.tar.bz2
Remove shadowed variable
(cherry picked from commit 21db94c5dce6a0048f2d1e5eff095c63d118f370)
-rw-r--r--hostapd/hostapd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index df6062b..e62bb9a 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -1510,7 +1510,6 @@ static int setup_interface(struct hostapd_iface *iface)
u8 *b = conf->bssid;
int freq;
size_t j;
- int ret = 0;
u8 *prev_addr;
/*
@@ -1644,7 +1643,7 @@ static int setup_interface(struct hostapd_iface *iface)
return -1;
}
- return ret;
+ return 0;
}