Skip to content
Snippets Groups Projects
Commit a80cdf75 authored by Anjan Chanda's avatar Anjan Chanda
Browse files

utils.h: fix warns - rename conflicting wifi_band_to_str()

parent 1b7df590
No related branches found
No related tags found
No related merge requests found
......@@ -585,7 +585,7 @@ int cntlr_config_add_node_radio(struct controller_config *c, uint8_t *alid,
if (ret)
goto out_pkg;
ret = set_value(ctx, pkg, section, "band", wifi_band_to_str(band), UCI_TYPE_STRING);
ret = set_value(ctx, pkg, section, "band", wifi_freqband_to_str(band), UCI_TYPE_STRING);
if (ret)
goto out_pkg;
......
......
......@@ -579,7 +579,7 @@ uint16_t wifi_sec_to_auth_types(enum wifi_security sec)
return auth_type;
}
const char *wifi_band_to_str(uint32_t band)
const char *wifi_freqband_to_str(uint32_t band)
{
if (band == BAND_2)
return "2";
......
......
......@@ -159,7 +159,7 @@ int rcpi_to_rssi(uint8_t rcpi);
bool is_vid_valid(uint16_t vid);
uint16_t wifi_sec_to_auth_types(enum wifi_security sec);
const char *wifi_band_to_str(uint32_t band);
const char *wifi_freqband_to_str(uint32_t band);
int time_str_to_sec(const char *val);
#define blobmsg_add_macaddr(b, f, v) \
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment