nl80211: Silence a compiler warning with older gcc versions

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-06-30 12:54:47 +03:00
parent 2e5ba4b6d1
commit 54d4ba427c

View file

@ -2711,7 +2711,7 @@ static int process_global_event(struct nl_msg *msg, void *arg)
struct wpa_driver_nl80211_data *drv, *tmp; struct wpa_driver_nl80211_data *drv, *tmp;
int ifidx = -1; int ifidx = -1;
struct i802_bss *bss; struct i802_bss *bss;
u64 wdev_id; u64 wdev_id = 0;
int wdev_id_set = 0; int wdev_id_set = 0;
nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0),