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

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

Signed-off-by: Denis Vlasenko <vda@ilport.com.ua>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Denis Vlasenko 2006-01-22 13:57:10 +02:00 committed by John W. Linville
parent a73e22b286
commit 9eafe76b8a

View file

@ -574,7 +574,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
/* skb: hdr + (possibly fragmented) plaintext payload */ /* skb: hdr + (possibly fragmented) plaintext payload */
// PR: FIXME: hostap has additional conditions in the "if" below: // PR: FIXME: hostap has additional conditions in the "if" below:
// ieee->host_decrypt && (fc & IEEE80211_FCTL_PROTECTED) && // ieee->host_decrypt && (fc & IEEE80211_FCTL_PROTECTED) &&
if ((frag != 0 || (fc & IEEE80211_FCTL_MOREFRAGS))) { if ((frag != 0) || (fc & IEEE80211_FCTL_MOREFRAGS)) {
int flen; int flen;
struct sk_buff *frag_skb = ieee80211_frag_cache_get(ieee, hdr); struct sk_buff *frag_skb = ieee80211_frag_cache_get(ieee, hdr);
IEEE80211_DEBUG_FRAG("Rx Fragment received (%u)\n", frag); IEEE80211_DEBUG_FRAG("Rx Fragment received (%u)\n", frag);