Commit 2a1a78d2 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

iwlagn: return error if PAN disable timeout

Signed-off-by: default avatarJohannes Berg <>
Signed-off-by: default avatarWey-Yi Guy <>
Signed-off-by: default avatarJohn W. Linville <>
parent 311dce71
......@@ -74,8 +74,10 @@ static int iwlagn_disable_pan(struct iwl_priv *priv,
signed long wait_res;
wait_res = iwlagn_wait_notification(priv, &disable_wait, HZ);
if (wait_res == 0)
if (wait_res == 0) {
IWL_ERR(priv, "Timed out waiting for PAN disable\n");
ret = -EIO;
return ret;
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