commit | 1bfb9428ece3c59e591e5c86e965d4af759c0761 | [log] [tgz] |
---|---|---|
author | Matt Chen <[email protected]> | Thu Apr 19 07:18:00 2018 |
committer | chrome-bot <[email protected]> | Tue May 08 03:45:39 2018 |
tree | 672e0640a40a3e23c35027a381775ea39a07cf62 | |
parent | ce565ef1423667529d09580451dbb252249dd77d [diff] |
CHROMIUM: iwl7000: improve the flow when a NIC is disconnected When the NIC is disconnected, we just can't do anything besides seeking for help from the bus driver. Dumping the device's memory is not necessary and just bloats the logs with unusable data. Moreover, asking mac80211 to restart the hardware is also useless. Bypass all this. Also, use the STATUS_TRANS_DEAD status bit instead of a bool inside the transport layer. The advantage of this is that now, the transport and the op_mode can know what is the situation and bypass the useless recovery steps mentioned above. BUG=b:35648315 TEST=None Change-Id: I484d2888307426a24178da78700f84f2e9b68018 Signed-off-by: Matt Chen <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]> iwl7000-tree: a13b860009cd751e9fb989494712287fb2197b11 Signed-off-by: Luca Coelho <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/1025750 Commit-Ready: ChromeOS CL Exonerator Bot <[email protected]> Tested-by: Kirtika Ruchandani <[email protected]> Reviewed-by: Kirtika Ruchandani <[email protected]>