Skip to content
  • Ivo van Doorn's avatar
    rt2x00: Data and desc pointer initialization · 40561b84
    Ivo van Doorn authored
    
    
    rt2500usb and rt73usb data and desc pointer initialization
    was incorrect because it was using uninitialized variables
    to determine the length.
    
    In addition rt2500usb used skb_pull and removed the ieee80211
    from each received frame instead of using skb_trim to remove
    the device descriptor from the frame.
    
    Finally this also fixes the descriptor override when 4 byte
    aligning occured. We still need a completely valid descriptor
    when using the TX/RX dumping capabilities in debugfs.
    
    Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    40561b84