diff options
author | Martin Kaistra <martin.kaistra@linutronix.de> | 2023-12-22 11:14:38 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-01-10 16:52:58 +0200 |
commit | 5ce0d7e8aee03e73b35f0fe1f1ebbdd4e45776f3 (patch) | |
tree | f449f601ae859b44de758f961832e1e363c89267 /kernel/Kconfig.freezer | |
parent | 61fdbd9e2a9d74c716bf4d9684653de5efdee691 (diff) |
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 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions