abis_nm: Introduce & use a nm_is_running function to test gsm_nm_state

This returns true if the gsm_nm_state can be considered 'running'.
Note that we also accept availability==0xff (which is a code for
no value) because according to 12.21 it is perfectly valid.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
3 files changed
tree: 8b3df7ab54c70e69fd9560119387e05f488412ef
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. rrlp-ephemeris/
  5. wireshark/