• Michael Buesch's avatar
    b43: Fix sparse warning in hw-tkip code · cde1b55b
    Michael Buesch authored
    This fixes a sparse warning in the hardware-TKIP code:
    
    drivers/net/wireless/b43/xmit.c:272:18: warning: incorrect type in assignment (different base types)
    drivers/net/wireless/b43/xmit.c:272:18:    expected unsigned short [unsigned] [short] <noident>
    drivers/net/wireless/b43/xmit.c:272:18:    got restricted unsigned short [usertype] <noident>
    
    The code should work correctly with and without this patch applied.
    Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    cde1b55b
xmit.c 21.5 KB