commit | 41cec84cf2858b59121a1cec5e9b09fc1bf1d882 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Fri Jul 24 13:54:25 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 27 00:56:39 2015 -0700 |
tree | 633d458001b950f4133afef11e739e1f0bd8d056 | |
parent | 7daed8dc2a4b48c5a7ea5b3243d01837ec1aed0a [diff] |
r8152: don't enable napi before rx ready Adjust napi_disable() and napi_enable() to avoid r8152_poll() start working before rx ready. Otherwise, it may have race condition for rx_agg. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>