nl80211: Update drv->assoc_freq on mesh join

This is needed to provide the correct frequency in SIGNAL_POLL command.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2016-06-04 21:30:18 +03:00
parent 2cf6341e64
commit 92a515b869

View 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: