Skip to content
Commit 43849284 authored by Michael Scott's avatar Michael Scott Committed by Jukka Rissanen
Browse files

net/mqtt: return error codes from net_context_send



Instead of returning EIO let's bubble the error from net_context_send
back up to the caller in the following functions:
mqtt_tx_connect()
mqtt_tx_disconnect()
mqtt_tx_pub_msgs()
mqtt_tx_publish()
mqtt_tx_pingreq()
mqtt_tx_subscribe()
mqtt_tx_unsubscribe()

Change-Id: I9bb4396b227b8902ac1195a97bc37eb1959b643e
Signed-off-by: default avatarMichael Scott <michael.scott@linaro.org>
parent 7bce4af8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment