Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96b74847 authored by Alwin Beukers's avatar Alwin Beukers Committed by Greg Kroah-Hartman
Browse files

staging: brcm80211: decreased indentation level of brcms_c_wme_setparams function

parent dd5be5ea
Loading
Loading
Loading
Loading
+18 −22
Original line number Diff line number Diff line
@@ -4199,7 +4199,6 @@ void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci,
		return;
	}

	do {
	memset((char *)&acp_shm, 0, sizeof(struct shm_acparams));
	/* fill in shm ac params struct */
	acp_shm.txop = params->txop;
@@ -4216,9 +4215,7 @@ void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci,
	    || acp_shm.aifs > EDCF_AIFSN_MAX) {
		wiphy_err(wlc->wiphy, "wl%d: edcf_setparams: bad "
			  "aifs %d\n", wlc->pub->unit, acp_shm.aifs);
			continue;
		}

	} else {
		acp_shm.cwmin = params->cw_min;
		acp_shm.cwmax = params->cw_max;
		acp_shm.cwcur = acp_shm.cwmin;
@@ -4239,8 +4236,7 @@ void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci,
					  M_EDCF_QINFO +
					  wme_ac2fifo[aci] * M_EDCF_QLEN + i,
					  *shm_entry++);

	} while (0);
	}

	if (suspend)
		brcms_c_suspend_mac_and_wait(wlc);