]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: chan: concentrate the logic of setting/clearing chanctx bitmap
authorZong-Zhe Yang <kevin_yang@realtek.com>
Thu, 5 Jun 2025 11:42:03 +0000 (19:42 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 10 Jun 2025 01:45:30 +0000 (09:45 +0800)
commit6cd93f85af7a1573c2fdb1da8977cd200a1c157e
treef866e274b0633a45c9d5adc3510d8f947b2f90f7
parentdad7aafa5216e307b357b801668451a3b8945810
wifi: rtw89: chan: concentrate the logic of setting/clearing chanctx bitmap

Originally, the logic for setting bits was wrapped inside the configuring
function. However, raw clearing bits, clear_bit, was called directly. To be
more paired and more understandable. Concentrate the logic of them into the
same function.

(don't change logic at all)

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250605114207.12381-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/chan.c