wifi: rtl8xxxu: support multiple interfaces in update_beacon_work_callback()
authorMartin Kaistra <martin.kaistra@linutronix.de>
Fri, 22 Dec 2023 10:14:32 +0000 (11:14 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Jan 2024 14:52:57 +0000 (16:52 +0200)
commit05b22e9b7d84253f765cde01cb09d144094b61c9
tree0d847e01e6743783c0e3a7269d5c4a6c1bb08904
parent43532c050f8eec4056a21978fdb5b958e1477553
wifi: rtl8xxxu: support multiple interfaces in update_beacon_work_callback()

As we only want to support AP mode/sending beacons on port 0, it is
enough to replace priv->vif with priv->vifs[0].

Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231222101442.626837-12-martin.kaistra@linutronix.de
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c