aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorGravatar Martin Kaistra <martin.kaistra@linutronix.de> 2023-12-22 11:14:38 +0100
committerGravatar Kalle Valo <kvalo@kernel.org> 2024-01-10 16:52:58 +0200
commit5ce0d7e8aee03e73b35f0fe1f1ebbdd4e45776f3 (patch)
treef449f601ae859b44de758f961832e1e363c89267 /sound
parentwifi: rtl8xxxu: support multiple interface in start_ap() (diff)
downloadlinux-5ce0d7e8aee03e73b35f0fe1f1ebbdd4e45776f3.tar.gz
linux-5ce0d7e8aee03e73b35f0fe1f1ebbdd4e45776f3.tar.bz2
linux-5ce0d7e8aee03e73b35f0fe1f1ebbdd4e45776f3.zip
wifi: rtl8xxxu: add macids for STA mode
Until now, the driver only assigned a dedicated macid for connections made in AP mode, in STA mode the return value of rtl8xxxu_get_macid() was simply 0. To differentiate between port 0 and 1, when both are in STA mode, allocate a second macid (with value 1) and set sta_info->macid according to the used port_num in rtl8xxxu_sta_add(). 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-18-martin.kaistra@linutronix.de
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions