Commit e240537b authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by John W. Linville

wil6210: improve dmesg for fw error handling

In case of FW error, make it clear (in dmesg) what branch is taken
in the error recovery code.
Signed-off-by: default avatarVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b516fcc5
...@@ -267,9 +267,12 @@ static void wil_fw_error_worker(struct work_struct *work) ...@@ -267,9 +267,12 @@ static void wil_fw_error_worker(struct work_struct *work)
break; break;
case NL80211_IFTYPE_AP: case NL80211_IFTYPE_AP:
case NL80211_IFTYPE_P2P_GO: case NL80211_IFTYPE_P2P_GO:
wil_info(wil, "No recovery for AP-like interface\n");
/* recovery in these modes is done by upper layers */ /* recovery in these modes is done by upper layers */
break; break;
default: default:
wil_err(wil, "No recovery - unknown interface type %d\n",
wdev->iftype);
break; break;
} }
mutex_unlock(&wil->mutex); mutex_unlock(&wil->mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment