The return-code was set, however it was never returned, nor was
the loop interrupted.
Signed-off-by: David Bauer <mail@david-bauer.net>
include $(TOPDIR)/rules.mk
PKG_NAME:=hostapd
-PKG_RELEASE:=8
+PKG_RELEASE:=9
PKG_SOURCE_URL:=http://w1.fi/hostap.git
PKG_SOURCE_PROTO:=git
struct blob_attr *tb_l[__NR_SET_LIST_MAX];
struct blob_attr *tb[ARRAY_SIZE(nr_e_policy)];
struct blob_attr *cur;
- int ret = 0;
int rem;
hostapd_rrm_nr_enable(hapd);
continue;
invalid:
- ret = UBUS_STATUS_INVALID_ARGUMENT;
+ return UBUS_STATUS_INVALID_ARGUMENT;
}
return 0;