/* Gets the index in iface_states for the state corresponding to a provided iface.  */
static int conn_mgr_get_index_for_if(struct net_if *iface)
/* Gets the index in iface_states for the state corresponding to a provided iface.  */
static int conn_mgr_get_index_for_if(struct net_if *iface)
{
	return net_if_get_by_iface(iface) - 1;
}