wlan-ap-Telecominfraproject/feeds/wlan-ap/opensync/patches/07-conf_changed.patch
Rick Sommerville 6a6cb55ff0 opensync: Support Multi-SSID per radio. Support radioX -> wlanX-Y naming convention.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-07-30 07:55:38 +02:00

21 lines
870 B
Diff

--- a/src/wm2/src/wm2_radio.c
+++ b/src/wm2/src/wm2_radio.c
@@ -517,7 +517,7 @@ wm2_radio_update_port_state_set_inactive
#define CMP(cmp, name) \
(changed |= (changedf->name = ((cmp(conf, state, name, changedf->_uuid)) && \
- (LOGD("%s: '%s' changed", conf->if_name, #name), 1))))
+ (LOGI("%s: '%s' changed", conf->if_name, #name), 1))))
static bool
wm2_vconf_changed(const struct schema_Wifi_VIF_Config *conf,
const struct schema_Wifi_VIF_State *state,
struct schema_Wifi_VIF_Config_flags *changedf)
{
int changed = 0;
memset(changedf, 0, sizeof(*changedf));
changed |= (changedf->_uuid = strcmp(conf->_uuid.uuid, state->vif_config.uuid));
+ LOGI("%s: %s %s", conf->if_name, conf->ssid, state->ssid);
CMP(CHANGED_INT, enabled);