diff --git a/feeds/ucentral/ucentral-event/files/ucentral-event b/feeds/ucentral/ucentral-event/files/ucentral-event index 6593c4d9e..ea7559ea8 100755 --- a/feeds/ucentral/ucentral-event/files/ucentral-event +++ b/feeds/ucentral/ucentral-event/files/ucentral-event @@ -137,14 +137,14 @@ function hapd_subscriber_notify_cb(notify) { }); } if (notify.type == 'probe') - return true; + return 0; let handler = handlers[notify.type]; if (!handler) - return true; + return 0; let hapd = hostapd[notify.data.ifname]; handler(notify, hapd); - return true; + return 0; } function hostapd_event(ifname, type) { @@ -167,7 +167,7 @@ function hostapd_add(path, obj) { hostapd[ifname].band = '2G'; else if (hostapd[ifname].op_class >= 115 && - hostapd[ifname].op_class <= 127) + hostapd[ifname].op_class <= 130) hostapd[ifname].band = '5G'; else if (hostapd[ifname].op_class >= 133 &&