mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
Staging: rtl8192e: Rename variable bBroadcast
Rename variable bBroadcast to broadcast 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-12-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9fff642f3b
commit
ced94ab7a3
|
|
@ -124,7 +124,7 @@ struct cb_desc {
|
|||
u8 rts_use_short_preamble:1;
|
||||
u8 rts_use_short_gi:1;
|
||||
u8 multicast:1;
|
||||
u8 bBroadcast:1;
|
||||
u8 broadcast:1;
|
||||
u8 drv_agg_enable:1;
|
||||
u8 reserved2:1;
|
||||
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ static void rtllib_query_BandwidthMode(struct rtllib_device *ieee,
|
|||
if (!ht_info->current_ht_support || !ht_info->enable_ht)
|
||||
return;
|
||||
|
||||
if (tcb_desc->multicast || tcb_desc->bBroadcast)
|
||||
if (tcb_desc->multicast || tcb_desc->broadcast)
|
||||
return;
|
||||
|
||||
if ((tcb_desc->data_rate & 0x80) == 0)
|
||||
|
|
@ -378,7 +378,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee,
|
|||
tcb_desc->RTSSC = 0;
|
||||
tcb_desc->rts_bw = false;
|
||||
|
||||
if (tcb_desc->bBroadcast || tcb_desc->multicast)
|
||||
if (tcb_desc->broadcast || tcb_desc->multicast)
|
||||
return;
|
||||
|
||||
if (is_broadcast_ether_addr(skb->data + 16))
|
||||
|
|
@ -845,9 +845,9 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
|
|||
if (is_multicast_ether_addr(header.addr1))
|
||||
tcb_desc->multicast = 1;
|
||||
if (is_broadcast_ether_addr(header.addr1))
|
||||
tcb_desc->bBroadcast = 1;
|
||||
tcb_desc->broadcast = 1;
|
||||
rtllib_txrate_selectmode(ieee, tcb_desc);
|
||||
if (tcb_desc->multicast || tcb_desc->bBroadcast)
|
||||
if (tcb_desc->multicast || tcb_desc->broadcast)
|
||||
tcb_desc->data_rate = ieee->basic_rate;
|
||||
else
|
||||
tcb_desc->data_rate = rtllib_current_rate(ieee);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user