]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Silence a compiler warning with older gcc versions
authorJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 09:54:47 +0000 (12:54 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 09:54:47 +0000 (12:54 +0300)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/drivers/driver_nl80211.c

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