r8152: disable the tasklet by default
authorhayeswang <hayeswang@realtek.com>
Wed, 5 Nov 2014 02:17:02 +0000 (10:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 03:17:10 +0000 (22:17 -0500)
commit93ffbeab77ca6a49e075235faa04c8b032c9fdc1
tree98d0e0dc1a8954e5418ccd1a9a72a3ca6b5fc2ac
parent4c672e4b42bc8046d63a6eb0a2c6a450a501af32
r8152: disable the tasklet by default

Let the tasklet only be enabled after open(), and be disabled for
the other situation. The tasklet is only necessary after open() for
tx/rx, so it could be disabled by default.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c