• Al Viro's avatar
    typhoon: set_settings broken on big-endian · b46281f9
    Al Viro authored
    One cpu_to_le16() too many when passing argument for TYPHOON_CMD_XCVR_SELECT;
    we end up passing host-endian while the hardware expects little-endian.  The
    other place doing that (typhoon_start_runtime()) does the right thing, so the
    card will recover at the next ifconfig up/tx timeout/resume, which limits the
    amount of mess, but still, WTF?
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    b46281f9
typhoon.c 73.4 KB