generic: ar8216: move sleep out of the loop
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Feb 2013 13:26:04 +0000 (13:26 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Feb 2013 13:26:04 +0000 (13:26 +0000)
commit7685a5601ecfa292854c1c67c0afd9138bfc3ab3
treeeedd369c728c97d553461fa025ad429771a6ab75
parent56ec2cc7e249bc3bb9b80d78e3068ac5f35d7e3b
generic: ar8216: move sleep out of the loop

It is enough to sleep once after ANEG is enabled on
all PHYs. This reduces boot time on boards with
AR8316 switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35532 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c