提交 9eafe76b 编写于 作者: D Denis Vlasenko 提交者: John W. Linville

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

Patch fixes misplaced (). Diffed against wireless-2.6.git
Signed-off-by: NDenis Vlasenko <vda@ilport.com.ua>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 a73e22b2
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册