diff options
author | hayeswang <hayeswang@realtek.com> | 2017-01-26 09:38:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-25 22:47:30 -0500 |
commit | 26afec39306926654e9cd320f19bbf3685bb0997 (patch) | |
tree | b956c0b7e231bc483eb3ecfc6b961e1ac7afd217 /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions