Home
last modified time | relevance | path

Searched refs:gw_mode_tmp (Results 1 – 1 of 1) sorted by relevance

/net/batman-adv/
Dsysfs.c472 int gw_mode_tmp = -1; in batadv_store_gw_mode() local
486 gw_mode_tmp = BATADV_GW_MODE_OFF; in batadv_store_gw_mode()
490 gw_mode_tmp = BATADV_GW_MODE_CLIENT; in batadv_store_gw_mode()
494 gw_mode_tmp = BATADV_GW_MODE_SERVER; in batadv_store_gw_mode()
496 if (gw_mode_tmp < 0) { in batadv_store_gw_mode()
503 if (atomic_read(&bat_priv->gw.mode) == gw_mode_tmp) in batadv_store_gw_mode()
535 atomic_set(&bat_priv->gw.mode, (unsigned int)gw_mode_tmp); in batadv_store_gw_mode()