Skip to content
Commit 5cbf2ec1 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Jukka Rissanen
Browse files

drivers: modem: fix sending with zero timeout and no semaphore



There was a regression introduced when reordering function parameters
check. It is valid to pass NULL semaphore with zero timeout, so fix
parameter check to respect that.

Fixes: 67976f86 ("drivers: modem: verify send semaphore before
  taking any action")
Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent 748e7b6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment