mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 19:20:26 -04:00
Staging: rtl8192e: Rename variable bMulticast
Rename variable bMulticast to multicast to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20240106055556.430948-5-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7fe65bc52d
commit
9ad8d831a0
@@ -123,7 +123,7 @@ struct cb_desc {
|
||||
u8 bPacketBW:1;
|
||||
u8 bRTSUseShortPreamble:1;
|
||||
u8 bRTSUseShortGI:1;
|
||||
u8 bMulticast:1;
|
||||
u8 multicast:1;
|
||||
u8 bBroadcast:1;
|
||||
u8 drv_agg_enable:1;
|
||||
u8 reserved2:1;
|
||||
|
||||
@@ -1816,7 +1816,7 @@ void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee)
|
||||
/* update the tx status */
|
||||
tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb +
|
||||
MAX_DEV_ADDR_SIZE);
|
||||
if (tcb_desc->bMulticast)
|
||||
if (tcb_desc->multicast)
|
||||
ieee->stats.multicast++;
|
||||
|
||||
/* if xmit available, just xmit it immediately, else just insert it to
|
||||
|
||||
@@ -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->bMulticast || tcb_desc->bBroadcast)
|
||||
if (tcb_desc->multicast || tcb_desc->bBroadcast)
|
||||
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->bRTSBW = false;
|
||||
|
||||
if (tcb_desc->bBroadcast || tcb_desc->bMulticast)
|
||||
if (tcb_desc->bBroadcast || tcb_desc->multicast)
|
||||
return;
|
||||
|
||||
if (is_broadcast_ether_addr(skb->data + 16))
|
||||
@@ -843,11 +843,11 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
|
||||
tcb_desc->tx_use_drv_assinged_rate = 1;
|
||||
} else {
|
||||
if (is_multicast_ether_addr(header.addr1))
|
||||
tcb_desc->bMulticast = 1;
|
||||
tcb_desc->multicast = 1;
|
||||
if (is_broadcast_ether_addr(header.addr1))
|
||||
tcb_desc->bBroadcast = 1;
|
||||
rtllib_txrate_selectmode(ieee, tcb_desc);
|
||||
if (tcb_desc->bMulticast || tcb_desc->bBroadcast)
|
||||
if (tcb_desc->multicast || tcb_desc->bBroadcast)
|
||||
tcb_desc->data_rate = ieee->basic_rate;
|
||||
else
|
||||
tcb_desc->data_rate = rtllib_current_rate(ieee);
|
||||
|
||||
Reference in New Issue
Block a user