[PATH 4/6] driver_nl80211.c: Initialize local variable

Bernhard Michael michael.bernhard at bfh.ch
Sat Apr 12 09:09:46 EDT 2008


This solves the problem with out-of-sync ACK messages.

Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
---
hostapd/driver_nl80211.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hostapd/driver_nl80211.c b/hostapd/driver_nl80211.c
index 0a1abd0..152f615 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,



More information about the HostAP mailing list