mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
Staging: rtl8192e: Rename variable Frame_QoSTID
Rename variable Frame_QoSTID to frame_qos_tid 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-27-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
318343d337
commit
4d98ca874d
|
|
@ -799,7 +799,7 @@ static inline const char *eap_get_type(int type)
|
|||
eap_types[type];
|
||||
}
|
||||
|
||||
static inline u8 Frame_QoSTID(u8 *buf)
|
||||
static inline u8 frame_qos_tid(u8 *buf)
|
||||
{
|
||||
struct ieee80211_hdr_3addr *hdr;
|
||||
u16 fc;
|
||||
|
|
|
|||
|
|
@ -888,7 +888,7 @@ static int rtllib_rx_check_duplicate(struct rtllib_device *ieee,
|
|||
struct rx_ts_record *ts = NULL;
|
||||
|
||||
if (rtllib_get_ts(ieee, (struct ts_common_info **)&ts, hdr->addr2,
|
||||
(u8)Frame_QoSTID((u8 *)(skb->data)), RX_DIR, true)) {
|
||||
(u8)frame_qos_tid((u8 *)(skb->data)), RX_DIR, true)) {
|
||||
if ((fc & (1 << 11)) && (frag == ts->rx_last_frag_num) &&
|
||||
(WLAN_GET_SEQ_SEQ(sc) == ts->rx_last_seq_num))
|
||||
return -1;
|
||||
|
|
@ -1321,7 +1321,7 @@ static int rtllib_rx_infra_adhoc(struct rtllib_device *ieee, struct sk_buff *skb
|
|||
hdr = (struct ieee80211_hdr *)skb->data;
|
||||
if (ieee->current_network.qos_data.active && IsQoSDataFrame(skb->data)
|
||||
&& !is_multicast_ether_addr(hdr->addr1)) {
|
||||
TID = Frame_QoSTID(skb->data);
|
||||
TID = frame_qos_tid(skb->data);
|
||||
SeqNum = WLAN_GET_SEQ_SEQ(sc);
|
||||
rtllib_get_ts(ieee, (struct ts_common_info **)&ts, hdr->addr2, TID,
|
||||
RX_DIR, true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user