summaryrefslogtreecommitdiffstats
path: root/net/ieee80211
diff options
context:
space:
mode:
authorDenis Vlasenko <vda@ilport.com.ua>2006-01-22 13:57:10 +0200
committerJohn W. Linville <linville@tuxdriver.com>2006-01-30 20:35:31 -0500
commit9eafe76b8a5e1420cd6105bc11830914d90bddb4 (patch)
treeccee0929ee13ebd46d92811688b08d3f355b21e4 /net/ieee80211
parenta73e22b286bd162d10526521b34f2d6f37aac635 (diff)
downloadblackbird-op-linux-9eafe76b8a5e1420cd6105bc11830914d90bddb4.tar.gz
blackbird-op-linux-9eafe76b8a5e1420cd6105bc11830914d90bddb4.zip
[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>
Diffstat (limited to 'net/ieee80211')
-rw-r--r--net/ieee80211/ieee80211_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c
index e2f1553ecb7c..c032b82eb56f 100644
--- a/net/ieee80211/ieee80211_rx.c
+++ b/net/ieee80211/ieee80211_rx.c
@@ -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);
OpenPOWER on IntegriCloud