ubus: fix fw3_ubus_device() to only return a pointer if a device was found
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Jul 2014 09:03:13 +0000 (11:03 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Jul 2014 09:03:18 +0000 (11:03 +0200)
commita4dec0d88c144d0e973c1884531e27c7499c27a2
treed03123e2c9292d187b3138e0c37da0d215bccddd
parent7db01c8b2fda897c596ee7befbead66c31285590
ubus: fix fw3_ubus_device() to only return a pointer if a device was found

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
ubus.c