controlif: Adapt to minor data structure change regarding nm_state
This was required due to master diverging from where controlif had last branched off.
This commit is contained in:
parent
07252918ea
commit
f505f5dff1
|
@ -260,7 +260,7 @@ int get_trx_rf_lock(struct ctrl_cmd *cmd, void *data)
|
|||
return CTRL_CMD_ERROR;
|
||||
}
|
||||
|
||||
cmd->reply = talloc_asprintf(cmd, "%u", trx->nm_state.administrative == NM_STATE_LOCKED ? 1 : 0);
|
||||
cmd->reply = talloc_asprintf(cmd, "%u", trx->mo.nm_state.administrative == NM_STATE_LOCKED ? 1 : 0);
|
||||
return CTRL_CMD_REPLY;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue