wifi: iwlwifi: mei: use wait_event_timeout() return value

wait_event_timeout() return value indicates whether the condition
evaluated to true or not, so no need to re-take the lock and
check the got_ownership flag.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221102165239.33159054626f.Ief9e2dc42f96f8044c197d32172003a5ead0f8d3@changeid
This commit is contained in:
Avraham Stern 2022-11-02 16:59:56 +02:00 • committed by Gregory Greenman
commit 6564f3b862