Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

iwlagn: return error if PAN disable timeout

parent 311dce71
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;