OSDN Git Service

staging: rtl8192u: fix indentation issue
authorColin Ian King <colin.king@canonical.com>
Thu, 14 Nov 2019 09:54:30 +0000 (09:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Nov 2019 06:11:23 +0000 (14:11 +0800)
There is a block of statements that are indented
too deeply, remove the extraneous tabs.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20191114095430.132120-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_cmdpkt.c

index e064f43..bc98cda 100644 (file)
@@ -169,19 +169,20 @@ static void cmdpkt_beacontimerinterrupt_819xusb(struct net_device *dev)
 {
        struct r8192_priv *priv = ieee80211_priv(dev);
        u16 tx_rate;
-               /* 87B have to S/W beacon for DTM encryption_cmn. */
-               if (priv->ieee80211->current_network.mode == IEEE_A ||
-                   priv->ieee80211->current_network.mode == IEEE_N_5G ||
-                   (priv->ieee80211->current_network.mode == IEEE_N_24G &&
-                    (!priv->ieee80211->pHTInfo->bCurSuppCCK))) {
-                       tx_rate = 60;
-                       DMESG("send beacon frame  tx rate is 6Mbpm\n");
-               } else {
-                       tx_rate = 10;
-                       DMESG("send beacon frame  tx rate is 1Mbpm\n");
-               }
 
-               rtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */
+       /* 87B have to S/W beacon for DTM encryption_cmn. */
+       if (priv->ieee80211->current_network.mode == IEEE_A ||
+           priv->ieee80211->current_network.mode == IEEE_N_5G ||
+           (priv->ieee80211->current_network.mode == IEEE_N_24G &&
+            (!priv->ieee80211->pHTInfo->bCurSuppCCK))) {
+               tx_rate = 60;
+               DMESG("send beacon frame  tx rate is 6Mbpm\n");
+       } else {
+               tx_rate = 10;
+               DMESG("send beacon frame  tx rate is 1Mbpm\n");
+       }
+
+       rtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */
 }
 
 /*-----------------------------------------------------------------------------