commit | 26afec39306926654e9cd320f19bbf3685bb0997 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Thu Jan 26 09:38:31 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 25 22:47:30 2017 -0500 |
tree | b956c0b7e231bc483eb3ecfc6b961e1ac7afd217 | |
parent | f154be241d22298d2b63c9b613f619fa1086ea75 [diff] |
r8152: avoid start_xmit to call napi_schedule during autosuspend Adjust the setting of the flag of SELECTIVE_SUSPEND to prevent start_xmit() from calling napi_schedule() directly during runtime suspend. After calling napi_disable() or clearing the flag of WORK_ENABLE, scheduling the napi is useless. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>