]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Update channel information after channel switch notification
authorPeng Xu <pxu@qca.qualcomm.com>
Mon, 24 Oct 2016 23:54:36 +0000 (16:54 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 28 Oct 2016 20:58:23 +0000 (23:58 +0300)
commitc2ad5b9218f33d6f4b97d779c4928d71d82ad02c
treed386f4b758082549f297b02b28edb816de66f5f9
parent913c3e1e83c9efa7a4d3a4df8d20e687918fcf1d
nl80211: Update channel information after channel switch notification

When channel switch happens, driver wrapper's internal channel
information needs to be updated so that the new frequency will be used
in operations using drv->assoc_freq. Previously, only bss->freq was
updated and the new frequency was also indicated in the EVENT_CH_SWITCH
event. This could potentially leave out couple of cases that use
drv->assoc_freq at least as a fallback mechanism for getting the current
operating frequency.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211_event.c