From: Jouni Malinen Date: Sat, 4 Jun 2016 18:30:18 +0000 (+0300) Subject: nl80211: Update drv->assoc_freq on mesh join X-Git-Tag: hostap_2_6~422 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92a515b8692b0154b157071710b48d297da60754;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index d3367eed1..129ca7e3c 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -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: