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

Commit 7c26d76b authored by Andrew Miller's avatar Andrew Miller Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8187se: r8180_core.c: Cleaned up if statement



clean up the if statement's conditions to make them more
readable

fix the if statement's body indention, one tab stop to many.

Signed-off-by: default avatarAndrew Miller <amiller@amilx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9948bc7e
Loading
Loading
Loading
Loading
+27 −23
Original line number Diff line number Diff line
@@ -1615,9 +1615,13 @@ void rtl8180_rx(struct net_device *dev)
		    fc = le16_to_cpu(hdr->frame_ctl);
		type = WLAN_FC_GET_TYPE(fc);

			if ((IEEE80211_FTYPE_CTL != type) &&
				(eqMacAddr(priv->ieee80211->current_network.bssid, (fc & IEEE80211_FCTL_TODS) ? hdr->addr1 : (fc & IEEE80211_FCTL_FROMDS) ? hdr->addr2 : hdr->addr3))
				 && (!bHwError) && (!bCRC) && (!bICV)) {
		if (IEEE80211_FTYPE_CTL != type &&
		    !bHwError && !bCRC && !bICV &&
		    eqMacAddr(priv->ieee80211->current_network.bssid,
		    	fc & IEEE80211_FCTL_TODS ? hdr->addr1 :
		    	fc & IEEE80211_FCTL_FROMDS ? hdr->addr2 : 
		    	hdr->addr3)) {
				 
			/* Perform signal smoothing for dynamic
			 * mechanism on demand. This is different
			 * with PerformSignalSmoothing8185 in smoothing