tws_get_state
uint8_t tws_get_state(struct tws_softc *sc);
if ( tws_get_state(sc) != TWS_RESET ) {
if ( tws_get_state(sc) == TWS_RESET ) {
if ( tws_get_state(sc) != TWS_RESET ) {
extern uint8_t tws_get_state(struct tws_softc *sc);
if ( sc->chan && tws_get_state(sc) != TWS_RESET ) {
extern uint8_t tws_get_state(struct tws_softc *sc);
if ( tws_get_state(sc) == TWS_RESET ) {