asix: Fix asix-based cards connecting to 10/100Mbs LAN.
authorPantelis Koukousoulas <pktoss@gmail.com>
Thu, 20 Nov 2008 09:48:46 +0000 (01:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 09:48:46 +0000 (01:48 -0800)
commita7f75c0c9cfb628512b30795bcba02c8a97e03a0
tree2f1d2939809ec2a82e8c4abb4223cfef17281b94
parent11b4aa03b212cbaa969df25e723fbd400a6e24b9
asix: Fix asix-based cards connecting to 10/100Mbs LAN.

Add AX_MEDIUM_ENCK also when speed = 10/100Mbps. This allows my belkin
f5d5055 to work with my 100Mbps switch and with an old 10Mbps ISA card.
Without this patch, the card is recognized and the interface is brought
up fine, but no packets actually flow through the interface.

Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com>
Acked-by: David Hollis <dhollis@davehollis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix.c