From: Michael Bernhard Date: Sun, 13 Apr 2008 09:39:13 +0000 (+0300) Subject: driver_nl80211: Initialize local variable X-Git-Tag: hostap_0_6_4~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a325926a9cabbf7c314f19ae1217671214ccf578;p=thirdparty%2Fhostap.git driver_nl80211: Initialize local variable This solves the problem with out-of-sync ACK messages. Signed-off-by: Michael Bernhard --- diff --git a/hostapd/driver_nl80211.c b/hostapd/driver_nl80211.c index 0a1abd06d..152f615d0 100644 --- a/hostapd/driver_nl80211.c +++ b/hostapd/driver_nl80211.c @@ -1416,7 +1416,7 @@ static struct hostapd_hw_modes *i802_get_hw_feature_data(void *priv, struct nl_msg *msg; int err = -1; struct nl_cb *cb = NULL; - int finished; + int finished = 0; struct phy_info_arg result = { .num_modes = num_modes, .modes = NULL,