Changeset 27597 for branches/backfire


Ignore:
Timestamp:
2011-07-12T05:26:18+02:00 (5 years ago)
Author:
nbd
Message:

ath9k: fix mic frame handling for bigger packets (backport of r27596)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/mac80211/patches/550-ath9k_mmic_verify.patch

    r27574 r27597  
    7171 } 
    7272  
    73 @@ -1882,6 +1881,9 @@ int ath_rx_tasklet(struct ath_softc *sc, 
    74                         ath9k_rx_skb_postprocess(common, hdr_skb, &rs, 
    75                                                  rxs, decrypt_error); 
     73@@ -1940,6 +1939,9 @@ int ath_rx_tasklet(struct ath_softc *sc, 
     74                        sc->rx.rxotherant = 0; 
     75                } 
    7676  
    7777+               if (rxs->flag & RX_FLAG_MMIC_STRIPPED) 
    7878+                       skb_trim(skb, skb->len - 8); 
    7979+ 
    80                 /* We will now give hardware our shiny new allocated skb */ 
    81                 bf->bf_mpdu = requeue_skb; 
    82                 bf->bf_buf_addr = dma_map_single(sc->dev, requeue_skb->data, 
     80                spin_lock_irqsave(&sc->sc_pm_lock, flags); 
     81  
     82                if ((sc->ps_flags & (PS_WAIT_FOR_BEACON | 
Note: See TracChangeset for help on using the changeset viewer.