CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2021/10/07 02:15:04

Modified files:
        sys/dev/pci    : if_iwm.c if_iwmvar.h 

Log message:
Make our old BSSID available to iwm_newstate() when roaming.

ic_bss->ni_bssid has already been overwritten once we enter
iwm_newstate() to perform the state transitions necessary for
roaming to our new access point (RUN->AUTH->ASSOC->RUN).

We do however use the BSSID in commands sent to firmware.
Cache our BSSID in struct iwm_node such that firmware commands
keep using the old BSSID while we are still tearing things down.
Switch to the new BSSID only once we start back up in iwm_auth().
This should be consistent from the firmware's point of view.

ok mpi@

Reply via email to