]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Update drv->assoc_freq on mesh join
authorJouni Malinen <j@w1.fi>
Sat, 4 Jun 2016 18:30:18 +0000 (21:30 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 Jun 2016 18:30:18 +0000 (21:30 +0300)
This is needed to provide the correct frequency in SIGNAL_POLL command.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c

index d3367eed157fdf81eda52fd132e564cb61464c2e..129ca7e3cef968438c2132205f320517e4e570bb 100644 (file)
@@ -8447,7 +8447,7 @@ static int nl80211_join_mesh(struct i802_bss *bss,
                goto fail;
        }
        ret = 0;
-       bss->freq = params->freq.freq;
+       drv->assoc_freq = bss->freq = params->freq.freq;
        wpa_printf(MSG_DEBUG, "nl80211: mesh join request send successfully");
 
 fail: