driver_nl80211: Initialize local variable

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

Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
This commit is contained in:
Michael Bernhard 2008-04-13 12:39:13 +03:00 committed by Jouni Malinen
parent 99c55ef92f
commit a325926a9c

View File

@ -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,