Skip to content

Commit 9cbaf63

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename variable bIsAggregateFrame
Rename variable bIsAggregateFrame to is_aggregate_frame to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2d1f383 commit 9cbaf63

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

drivers/staging/rtl8192e/rtllib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ struct rtllib_device {
14021402
bool FwRWRF;
14031403

14041404
struct rt_link_detect link_detect_info;
1405-
bool bIsAggregateFrame;
1405+
bool is_aggregate_frame;
14061406
struct rt_pwr_save_ctrl pwr_save_ctrl;
14071407

14081408
/* used if IEEE_SOFTMAC_TX_QUEUE is set */

drivers/staging/rtl8192e/rtllib_rx.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb,
730730

731731
u16 LLCOffset = sizeof(struct ieee80211_hdr_3addr);
732732
u16 ChkLength;
733-
bool bIsAggregateFrame = false;
733+
bool is_aggregate_frame = false;
734734
u16 nSubframe_Length;
735735
u8 nPadding_Length = 0;
736736
u16 SeqNum = 0;
@@ -739,7 +739,7 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb,
739739
SeqNum = WLAN_GET_SEQ_SEQ(le16_to_cpu(hdr->seq_ctrl));
740740
if ((RTLLIB_QOS_HAS_SEQ(fc)) &&
741741
(((union frameqos *)(skb->data + RTLLIB_3ADDR_LEN))->field.reserved))
742-
bIsAggregateFrame = true;
742+
is_aggregate_frame = true;
743743

744744
if (RTLLIB_QOS_HAS_SEQ(fc))
745745
LLCOffset += 2;
@@ -752,8 +752,8 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb,
752752
return 0;
753753

754754
skb_pull(skb, LLCOffset);
755-
ieee->bIsAggregateFrame = bIsAggregateFrame;
756-
if (!bIsAggregateFrame) {
755+
ieee->is_aggregate_frame = is_aggregate_frame;
756+
if (!is_aggregate_frame) {
757757
rxb->nr_subframes = 1;
758758

759759
/* altered by clark 3/30/2010
@@ -1358,7 +1358,7 @@ static int rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb,
13581358
/* Update WAPI PN */
13591359

13601360
/* Check if leave LPS */
1361-
if (ieee->bIsAggregateFrame)
1361+
if (ieee->is_aggregate_frame)
13621362
nr_subframes = rxb->nr_subframes;
13631363
else
13641364
nr_subframes = 1;

drivers/staging/rtl8192e/rtllib_softmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2079,7 +2079,7 @@ int rtllib_softmac_init(struct rtllib_device *ieee)
20792079
ieee->link_detect_info.num_tx_ok_in_period = 0;
20802080
ieee->link_detect_info.num_rx_ok_in_period = 0;
20812081
ieee->link_detect_info.NumRxUnicastOkInPeriod = 0;
2082-
ieee->bIsAggregateFrame = false;
2082+
ieee->is_aggregate_frame = false;
20832083
ieee->assoc_id = 0;
20842084
ieee->queue_stop = 0;
20852085
ieee->scanning_continue = 0;

0 commit comments

Comments
 (0)