lkml.org 
[lkml]   [2006]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] trivial fix
    Date
    Patch fixes misplaced (). Diffed against wireless-2.6.git

    Signed-off-by: Denis Vlasenko <vda@ilport.com.ua>
    --
    vda
    diff -urpN softmac-snapshot/net/ieee80211/ieee80211_rx.c softmac-snapshot.1/net/ieee80211/ieee80211_rx.c
    --- softmac-snapshot/net/ieee80211/ieee80211_rx.c Wed Jan 18 07:27:03 2006
    +++ softmac-snapshot.1/net/ieee80211/ieee80211_rx.c Sun Jan 22 13:12:30 2006
    @@ -562,7 +562,7 @@ int ieee80211_rx(struct ieee80211_device
    /* 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);
    \
     
     \ /
      Last update: 2006-01-22 13:00    [W:0.020 / U:90.360 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site