mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 00:29:36 -04:00
Staging: rtl8192e: Rename variable HTOpMode
Rename variable HTOpMode to ht_op_mode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20240612032230.9738-5-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8cc4efad82
commit
24a9686dfc
@@ -417,11 +417,11 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee,
|
||||
break;
|
||||
}
|
||||
if (ht_info->current_ht_support && ht_info->enable_ht) {
|
||||
u8 HTOpMode = ht_info->current_op_mode;
|
||||
u8 ht_op_mode = ht_info->current_op_mode;
|
||||
|
||||
if ((ht_info->cur_bw_40mhz && (HTOpMode == 2 ||
|
||||
HTOpMode == 3)) ||
|
||||
(!ht_info->cur_bw_40mhz && HTOpMode == 3)) {
|
||||
if ((ht_info->cur_bw_40mhz && (ht_op_mode == 2 ||
|
||||
ht_op_mode == 3)) ||
|
||||
(!ht_info->cur_bw_40mhz && ht_op_mode == 3)) {
|
||||
tcb_desc->rts_rate = MGN_24M;
|
||||
tcb_desc->bRTSEnable = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user