WILC_MAC_STATUS_CONNECTED
if (mac_status == WILC_MAC_STATUS_CONNECTED) {
if (mac_status == WILC_MAC_STATUS_CONNECTED &&