]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: rtl8192e: rtllib_tx: fix spelling issue.
authorDavide Spataro <davide90.spataro@gmail.com>
Mon, 21 May 2018 20:48:57 +0000 (22:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:44:14 +0000 (18:44 +0200)
Fix a spelling problem. Issue found by checkpatch.pl.

Signed-off-by: Davide Spataro <davide90.spataro@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_tx.c

index fc88d47dea43fa4e57290f3da7c9b015b472cd14..d314b2f602e4702cad3f449c5fca8b8965988700 100644 (file)
@@ -578,7 +578,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                .seq_ctl = 0,
                .qos_ctl = 0
        };
-       int qos_actived = ieee->current_network.qos_data.active;
+       int qos_activated = ieee->current_network.qos_data.active;
        u8 dest[ETH_ALEN];
        u8 src[ETH_ALEN];
        struct lib80211_crypt_data *crypt = NULL;
@@ -684,7 +684,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                else
                        fc = RTLLIB_FTYPE_DATA;
 
-               if (qos_actived)
+               if (qos_activated)
                        fc |= RTLLIB_STYPE_QOS_DATA;
                else
                        fc |= RTLLIB_STYPE_DATA;
@@ -727,7 +727,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                        qos_ctl = 0;
                }
 
-               if (qos_actived) {
+               if (qos_activated) {
                        hdr_len = RTLLIB_3ADDR_LEN + 2;
 
                        /* in case we are a client verify acm is not set for this ac */
@@ -788,7 +788,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                txb->encrypted = encrypt;
                txb->payload_size = cpu_to_le16(bytes);
 
-               if (qos_actived)
+               if (qos_activated)
                        txb->queue_index = UP2AC(skb->priority);
                else
                        txb->queue_index = WME_AC_BE;
@@ -797,7 +797,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                        skb_frag = txb->fragments[i];
                        tcb_desc = (struct cb_desc *)(skb_frag->cb +
                                    MAX_DEV_ADDR_SIZE);
-                       if (qos_actived) {
+                       if (qos_activated) {
                                skb_frag->priority = skb->priority;
                                tcb_desc->queue_index =  UP2AC(skb->priority);
                        } else {
@@ -831,7 +831,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                                /* The last fragment has the remaining length */
                                bytes = bytes_last_frag;
                        }
-                       if ((qos_actived) && (!bIsMulticast)) {
+                       if ((qos_activated) && (!bIsMulticast)) {
                                frag_hdr->seq_ctl =
                                         cpu_to_le16(rtllib_query_seqnum(ieee, skb_frag,
                                                             header.addr1));
@@ -866,7 +866,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                                skb_put(skb_frag, 4);
                }
 
-               if ((qos_actived) && (!bIsMulticast)) {
+               if ((qos_activated) && (!bIsMulticast)) {
                        if (ieee->seq_ctrl[UP2AC(skb->priority) + 1] == 0xFFF)
                                ieee->seq_ctrl[UP2AC(skb->priority) + 1] = 0;
                        else