• Ralf Baechle's avatar
    [PATCH] Fix 6pack setting of MAC address · 214838a2
    Ralf Baechle authored
    Don't check type of sax25_family; dev_set_mac_address has already done
    that before and anyway, the type to check against would have been
    ARPHRD_AX25.  We only got away because AF_AX25 and ARPHRD_AX25 both happen
    to be defined to the same value.
    
    Don't check sax25_ndigis either; it's value is insignificant for the
    purpose of setting the MAC address and the check has shown to break
    some application software for no good reason.
    Signed-off-by: default avatarRalf Baechle DL5RB <ralf@linux-mips.org>
    Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
    214838a2
6pack.c 24.8 KB