Staging: rtl8192e: Rename variable bIsAggregateFrame
Rename variable bIsAggregateFrame to is_aggregate_frame to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20231225202314.31869-6-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2d1f383244
commit
9cbaf63c14
@ -1402,7 +1402,7 @@ struct rtllib_device {
|
||||
bool FwRWRF;
|
||||
|
||||
struct rt_link_detect link_detect_info;
|
||||
bool bIsAggregateFrame;
|
||||
bool is_aggregate_frame;
|
||||
struct rt_pwr_save_ctrl pwr_save_ctrl;
|
||||
|
||||
/* used if IEEE_SOFTMAC_TX_QUEUE is set */
|
||||
|
@ -730,7 +730,7 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb,
|
||||
|
||||
u16 LLCOffset = sizeof(struct ieee80211_hdr_3addr);
|
||||
u16 ChkLength;
|
||||
bool bIsAggregateFrame = false;
|
||||
bool is_aggregate_frame = false;
|
||||
u16 nSubframe_Length;
|
||||
u8 nPadding_Length = 0;
|
||||
u16 SeqNum = 0;
|
||||
@ -739,7 +739,7 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb,
|
||||
SeqNum = WLAN_GET_SEQ_SEQ(le16_to_cpu(hdr->seq_ctrl));
|
||||
if ((RTLLIB_QOS_HAS_SEQ(fc)) &&
|
||||
(((union frameqos *)(skb->data + RTLLIB_3ADDR_LEN))->field.reserved))
|
||||
bIsAggregateFrame = true;
|
||||
is_aggregate_frame = true;
|
||||
|
||||
if (RTLLIB_QOS_HAS_SEQ(fc))
|
||||
LLCOffset += 2;
|
||||
@ -752,8 +752,8 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb,
|
||||
return 0;
|
||||
|
||||
skb_pull(skb, LLCOffset);
|
||||
ieee->bIsAggregateFrame = bIsAggregateFrame;
|
||||
if (!bIsAggregateFrame) {
|
||||
ieee->is_aggregate_frame = is_aggregate_frame;
|
||||
if (!is_aggregate_frame) {
|
||||
rxb->nr_subframes = 1;
|
||||
|
||||
/* altered by clark 3/30/2010
|
||||
@ -1358,7 +1358,7 @@ static int rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb,
|
||||
/* Update WAPI PN */
|
||||
|
||||
/* Check if leave LPS */
|
||||
if (ieee->bIsAggregateFrame)
|
||||
if (ieee->is_aggregate_frame)
|
||||
nr_subframes = rxb->nr_subframes;
|
||||
else
|
||||
nr_subframes = 1;
|
||||
|
@ -2079,7 +2079,7 @@ int rtllib_softmac_init(struct rtllib_device *ieee)
|
||||
ieee->link_detect_info.num_tx_ok_in_period = 0;
|
||||
ieee->link_detect_info.num_rx_ok_in_period = 0;
|
||||
ieee->link_detect_info.NumRxUnicastOkInPeriod = 0;
|
||||
ieee->bIsAggregateFrame = false;
|
||||
ieee->is_aggregate_frame = false;
|
||||
ieee->assoc_id = 0;
|
||||
ieee->queue_stop = 0;
|
||||
ieee->scanning_continue = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user