Commit dc90ba3
r8152: Check for unplug in rtl_phy_patch_request()
If the adapter is unplugged while we're looping in
rtl_phy_patch_request() we could end up looping for 10 seconds (2 ms *
5000 loops). Add code similar to what's done in other places in the
driver to check for unplug and bail.
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Grant Grundler <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent b8d3502 commit dc90ba3
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4046 | 4046 | | |
4047 | 4047 | | |
4048 | 4048 | | |
| 4049 | + | |
| 4050 | + | |
| 4051 | + | |
4049 | 4052 | | |
4050 | 4053 | | |
4051 | 4054 | | |
| |||
0 commit comments