r8169: fix sleeping while holding spinlock.
authorfrançois romieu <romieu@fr.zoreil.com>
Mon, 8 Nov 2010 13:23:58 +0000 (13:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Nov 2010 16:26:43 +0000 (08:26 -0800)
commitea80907ff066edd1dd43c5fe90ae6677d15e6384
tree0ee8856f3a2f9fe57fc5982a026ada8c0e14795e
parent53f57357ff0afc37804f4e82ee3123e0c0a2cad6
r8169: fix sleeping while holding spinlock.

As device_set_wakeup_enable can now sleep, move the call to outside
the critical section.

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Andrew Hendry <andrew.hendry@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c