Skip to content
Commit 8d04e7e3 authored by Joakim Andersson's avatar Joakim Andersson Committed by Benjamin Cabé
Browse files

drivers: modem: Fix modem_socket returning object for fd zero after init



Fix bug in modem_socket where an unallocated object can be returned
for file descriptor zero before the object has been used one time.

Signed-off-by: default avatarJoakim Andersson <joerchan@gmail.com>
parent 123adb2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment