drivers: modem: hl7800: fix possible null reference

Ensure sock is not referenced if it is null.

Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
1 file changed