[PATCH 3/3] staging: rtl8723bs: update rt_channel_info member usage to snake_case in wifi_reged.c

From: Marcos Andrade

Date: Sat Mar 21 2026 - 11:14:24 EST


Replace all occurrences of the CamelCase member names ChannelNum and
ScanType in os_dep/wifi_reged.c with their snake_case equivalents
channel_num and scan_type, as defined in struct rt_channel_info.

This change brings the code in line with the kernel coding style
as described in Documentation/process/coding-style.rst.

No functional changes intended.

Signed-off-by: Marcos Andrade <marcosandrade95963@xxxxxxxxx>
---
drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
index f9c4d487badf..bccc779c3ecf 100644
--- a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
+++ b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
@@ -70,11 +70,11 @@ static void _rtw_reg_apply_flags(struct wiphy *wiphy)

/* channels apply by channel plans. */
for (i = 0; i < max_chan_nums; i++) {
- channel = channel_set[i].ChannelNum;
+ channel = channel_set[i].channel_num;
freq = rtw_ieee80211_channel_to_frequency(channel);
ch = ieee80211_get_channel(wiphy, freq);
if (ch) {
- if (channel_set[i].ScanType == SCAN_PASSIVE)
+ if (channel_set[i].scan_type == SCAN_PASSIVE)
ch->flags = IEEE80211_CHAN_NO_IR;
else
ch->flags = 0;
--
2.53.0