提交 2a1a78d2 编写于 作者: J Johannes Berg 提交者: John W. Linville

iwlagn: return error if PAN disable timeout

Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册