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

Commit 2578f7ed authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Greg Kroah-Hartman
Browse files

Staging: brcm80211: simplify expression



Simplify: ((a && b) || !a) => (b || !a)

Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Cc: Brett Rudley <brudley@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a28792e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -669,7 +669,7 @@ bool wlc_ps_check(wlc_info_t *wlc)
		 * may be either true or false due to the low level override.
		 */
		wake = STAY_AWAKE(wlc);
		wake_ok = (wake && ((tmp & MCTL_WAKE) != 0)) || !wake;
		wake_ok = ((tmp & MCTL_WAKE) != 0) || !wake;
#endif
		if (hps && !wake_ok) {
			WL_ERROR(("wl%d: wake not sync, sw %d maccontrol 0x%x\n", wlc->pub->unit, wake, tmp));