Skip to content

Commit

Permalink
wifi: rtlwifi: fix repeated words in comments
Browse files Browse the repository at this point in the history
Delete the redundant words 'in' and 'scan'.

Signed-off-by: Jilin Yuan <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Jilin Yuan authored and Kalle Valo committed Jul 18, 2022
1 parent a319b7f commit 4a7fb1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtlwifi/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ static int rtl_op_config(struct ieee80211_hw *hw, u32 changed)

/*
*because we should back channel to
*current_network.chan in in scanning,
*current_network.chan in scanning,
*So if set_chan == current_network.chan
*we should set it.
*because mac80211 tell us wrong bw40
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtlwifi/regd.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static void _rtl_reg_apply_beaconing_flags(struct wiphy *wiphy,
}
}

/* Allows active scan scan on Ch 12 and 13 */
/* Allows active scan on Ch 12 and 13 */
static void _rtl_reg_apply_active_scan_flags(struct wiphy *wiphy,
enum nl80211_reg_initiator
initiator)
Expand Down

0 comments on commit 4a7fb1c

Please sign in to comment.