]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rsi: fix indentation issue with a code block
authorColin Ian King <colin.king@canonical.com>
Thu, 7 Feb 2019 12:11:41 +0000 (12:11 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Feb 2019 15:31:23 +0000 (17:31 +0200)
There is a block of code that is indented at the wrong level. Fix this
with extra tabbing.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mac80211.c

index 3fd2571cdcb5ee6f639b373cac2b22d43845f7b1..2c12f01023288bd26dbe3617e4d0288107c67ae3 100644 (file)
@@ -816,15 +816,15 @@ static void rsi_mac80211_bss_info_changed(struct ieee80211_hw *hw,
                adapter->ps_info.dtim_interval_duration = bss->dtim_period;
                adapter->ps_info.listen_interval = conf->listen_interval;
 
-       /* If U-APSD is updated, send ps parameters to firmware */
-       if (bss->assoc) {
-               if (common->uapsd_bitmap) {
-                       rsi_dbg(INFO_ZONE, "Configuring UAPSD\n");
-                       rsi_conf_uapsd(adapter, vif);
+               /* If U-APSD is updated, send ps parameters to firmware */
+               if (bss->assoc) {
+                       if (common->uapsd_bitmap) {
+                               rsi_dbg(INFO_ZONE, "Configuring UAPSD\n");
+                               rsi_conf_uapsd(adapter, vif);
+                       }
+               } else {
+                       common->uapsd_bitmap = 0;
                }
-       } else {
-               common->uapsd_bitmap = 0;
-       }
        }
 
        if (changed & BSS_CHANGED_CQM) {