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

Commit 9eafe76b authored by Denis Vlasenko's avatar Denis Vlasenko Committed by John W. Linville
Browse files

[PATCH] ieee80211: trivial fix for misplaced ()'s



Patch fixes misplaced (). Diffed against wireless-2.6.git

Signed-off-by: default avatarDenis Vlasenko <vda@ilport.com.ua>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a73e22b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -574,7 +574,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
	/* skb: hdr + (possibly fragmented) plaintext payload */
	// PR: FIXME: hostap has additional conditions in the "if" below:
	// ieee->host_decrypt && (fc & IEEE80211_FCTL_PROTECTED) &&
	if ((frag != 0 || (fc & IEEE80211_FCTL_MOREFRAGS))) {
	if ((frag != 0) || (fc & IEEE80211_FCTL_MOREFRAGS)) {
		int flen;
		struct sk_buff *frag_skb = ieee80211_frag_cache_get(ieee, hdr);
		IEEE80211_DEBUG_FRAG("Rx Fragment received (%u)\n", frag);