Home
last modified time | relevance | path

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

/linux-3.4.99/net/batman-adv/
Dbat_sysfs.c315 int gw_mode_tmp = -1; in store_gw_mode() local
321 gw_mode_tmp = GW_MODE_OFF; in store_gw_mode()
325 gw_mode_tmp = GW_MODE_CLIENT; in store_gw_mode()
329 gw_mode_tmp = GW_MODE_SERVER; in store_gw_mode()
331 if (gw_mode_tmp < 0) { in store_gw_mode()
338 if (atomic_read(&bat_priv->gw_mode) == gw_mode_tmp) in store_gw_mode()
357 atomic_set(&bat_priv->gw_mode, (unsigned)gw_mode_tmp); in store_gw_mode()