source: branches/8.09/package/madwifi/patches/408-changeset_r3337.patch @ 17279

Last change on this file since 17279 was 17279, checked in by nbd, 7 years ago

merge madwifi and wprobe into 8.09

File size: 1.2 KB
  • THANKS

    a b Derek J Smithies 
    129129jhansen 
    130130Benoit Papillault 
    131131Russell Harmon 
     132Alessandro Erta 
    132133 
    133134Apologies to anyone whose name was unintentionally left off. 
    134135Please let us know if you think your name should be mentioned here! 
  • ath/if_ath.c

    a b ath_tx_startraw(struct net_device *dev,  
    31473147        struct ath_softc *sc = dev->priv; 
    31483148        struct ath_hal *ah = sc->sc_ah; 
    31493149        struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) 
    3150                 (SKB_CB(skb) + sizeof(struct ieee80211_cb)); 
     3150                (SKB_CB(skb) + 1); /* NB: SKB_CB casts to CB struct*. */ 
    31513151        const HAL_RATE_TABLE *rt; 
    31523152        unsigned int pktlen, hdrlen, try0, power; 
    31533153        HAL_PKT_TYPE atype; 
  • net80211/ieee80211_monitor.c

    a b struct ar5212_openbsd_desc { 
    128128void 
    129129ieee80211_monitor_encap(struct ieee80211vap *vap, struct sk_buff *skb) 
    130130{ 
    131         struct ieee80211_phy_params *ph = 
    132                 (struct ieee80211_phy_params *) (SKB_CB(skb) + sizeof(struct ieee80211_cb)); 
     131        struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) 
     132                (SKB_CB(skb) + 1); /* NB: SKB_CB casts to CB struct*. */ 
    133133        SKB_CB(skb)->flags = M_RAW; 
    134134        SKB_CB(skb)->ni = NULL; 
    135135        SKB_CB(skb)->next = NULL; 
Note: See TracBrowser for help on using the repository browser.