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: NDaniel J Blueman <daniel.blueman@gmail.com> Acked-by: NRafael J. Wysocki <rjw@sisk.pl> Acked-by: NAndrew Hendry <andrew.hendry@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录