zephyr/subsys
Michael Scott 7bce4af81f net/mqtt: cleanup TX function unref handling
With CONFIG_NET_DEBUG_NET_PKT enabled, the log messages are full of
errors regarding NULL parameters passed into net_pkt_unref in almost
every TX function for handling MQTT messages:
mqtt_tx_connect()
mqtt_tx_disconnect()
mqtt_tx_pub_msgs()
mqtt_tx_publish()
mqtt_tx_pingreq()
mqtt_tx_subscribe()
mqtt_tx_unsubscribe()
mqtt_parser()

Let's clean up the unref handling so that our debug log isn't quite
so full of error spam (as opposed to the normal amount of spam from
the net buf log).

Change-Id: Ib49d1192f51abe4329e6dc9da3c51a4a36290082
Signed-off-by: Michael Scott <michael.scott@linaro.org>
2017-04-28 15:01:12 +03:00
..
bluetooth spell: Kconfig help typos: /kernel /misc /subsys 2017-04-22 01:04:56 +00:00
console subsys: convert to using newly introduced integer sized types 2017-04-21 09:36:22 -05:00
debug subsys: convert to using newly introduced integer sized types 2017-04-21 09:36:22 -05:00
disk subsys: convert to using newly introduced integer sized types 2017-04-21 09:36:22 -05:00
fs subsys: convert to using newly introduced integer sized types 2017-04-21 09:36:22 -05:00
logging kernel: event_logger: convert to using newly introduced integer sized types 2017-04-25 22:09:12 +00:00
net net/mqtt: cleanup TX function unref handling 2017-04-28 15:01:12 +03:00
shell subsys: convert to using newly introduced integer sized types 2017-04-21 09:36:22 -05:00
usb spell: Kconfig help typos: /kernel /misc /subsys 2017-04-22 01:04:56 +00:00
Kconfig
Makefile