mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
Staging: rtl8192e: Rename variable prxbIndicateArray
Rename variable prxbIndicateArray to prxb_indicate_array 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/20240521031718.17852-31-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
60d98bd24b
commit
1631cf6575
|
|
@ -1409,7 +1409,7 @@ struct rtllib_device {
|
|||
union {
|
||||
struct rtllib_rxb *rfd_array[REORDER_WIN_SIZE];
|
||||
struct rtllib_rxb *stats_IndicateArray[REORDER_WIN_SIZE];
|
||||
struct rtllib_rxb *prxbIndicateArray[REORDER_WIN_SIZE];
|
||||
struct rtllib_rxb *prxb_indicate_array[REORDER_WIN_SIZE];
|
||||
struct {
|
||||
struct sw_chnl_cmd PreCommonCmd[MAX_PRECMD_CNT];
|
||||
struct sw_chnl_cmd PostCommonCmd[MAX_POSTCMD_CNT];
|
||||
|
|
@ -1803,7 +1803,7 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
|
|||
struct rtllib_rx_stats *stats);
|
||||
|
||||
void rtllib_indicate_packets(struct rtllib_device *ieee,
|
||||
struct rtllib_rxb **prxbIndicateArray, u8 index);
|
||||
struct rtllib_rxb **prxb_indicate_array, u8 index);
|
||||
#define RT_ASOC_RETRY_LIMIT 5
|
||||
u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee);
|
||||
|
||||
|
|
|
|||
|
|
@ -429,14 +429,14 @@ static bool add_reorder_entry(struct rx_ts_record *ts,
|
|||
}
|
||||
|
||||
void rtllib_indicate_packets(struct rtllib_device *ieee,
|
||||
struct rtllib_rxb **prxbIndicateArray, u8 index)
|
||||
struct rtllib_rxb **prxb_indicate_array, u8 index)
|
||||
{
|
||||
struct net_device_stats *stats = &ieee->stats;
|
||||
u8 i = 0, j = 0;
|
||||
u16 ethertype;
|
||||
|
||||
for (j = 0; j < index; j++) {
|
||||
struct rtllib_rxb *prxb = prxbIndicateArray[j];
|
||||
struct rtllib_rxb *prxb = prxb_indicate_array[j];
|
||||
|
||||
for (i = 0; i < prxb->nr_subframes; i++) {
|
||||
struct sk_buff *sub_skb = prxb->subframes[i];
|
||||
|
|
@ -594,7 +594,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee,
|
|||
netdev_dbg(ieee->dev,
|
||||
"Packets indication! IndicateSeq: %d, NewSeq: %d\n",
|
||||
ts->rx_indicate_seq, SeqNum);
|
||||
ieee->prxbIndicateArray[0] = prxb;
|
||||
ieee->prxb_indicate_array[0] = prxb;
|
||||
index = 1;
|
||||
} else {
|
||||
/* Current packet is going to be inserted into pending list.*/
|
||||
|
|
@ -675,7 +675,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee,
|
|||
ts->rx_indicate_seq = (ts->rx_indicate_seq + 1) %
|
||||
4096;
|
||||
|
||||
ieee->prxbIndicateArray[index] = pReorderEntry->prxb;
|
||||
ieee->prxb_indicate_array[index] = pReorderEntry->prxb;
|
||||
netdev_dbg(ieee->dev, "%s(): Indicate SeqNum %d!\n",
|
||||
__func__, pReorderEntry->SeqNum);
|
||||
index++;
|
||||
|
|
@ -706,7 +706,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee,
|
|||
flags);
|
||||
return;
|
||||
}
|
||||
rtllib_indicate_packets(ieee, ieee->prxbIndicateArray, index);
|
||||
rtllib_indicate_packets(ieee, ieee->prxb_indicate_array, index);
|
||||
bPktInBuf = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user