sky2: fix limited auto negotiation
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 6 Jan 2011 18:40:36 +0000 (18:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jan 2011 23:52:58 +0000 (15:52 -0800)
commit2aca31e765f756408ebc8408378afa5795d1ae49
tree9e7f59ae4d5c32012725c8792f7f095a2fa4e934
parent9bcb8018cf7af1f00f35cad4b121897cac077269
sky2: fix limited auto negotiation

The sky2 driver would always try all possible supported speeds even
if the user only asked for a limited set of speed/duplex combinations.

Reported-by: Mohsen Hariri <m.hariri@gmail.com>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c