3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 18:59:22 +01:00

station: Make station_state_to_string static

This commit is contained in:
Denis Kenzior 2018-09-19 13:45:49 -05:00
parent 3d43d633d1
commit f06c3b645d
2 changed files with 1 additions and 2 deletions

View File

@ -609,7 +609,7 @@ static void periodic_scan_stop(struct station *station)
}
}
const char *station_state_to_string(enum station_state state)
static const char *station_state_to_string(enum station_state state)
{
switch (state) {
case STATION_STATE_DISCONNECTED:

View File

@ -53,7 +53,6 @@ struct network *station_network_find(struct station *station, const char *ssid,
void station_set_scan_results(struct station *station, struct l_queue *bss_list,
bool add_to_autoconnect);
const char *station_state_to_string(enum station_state state);
enum station_state station_get_state(struct station *station);
uint32_t station_add_state_watch(struct station *station,
station_state_watch_func_t func,