RTW89_CHANCTX_IDLE
RTW89_CHANCTX_IDLE, idx);
if (cur != RTW89_CHANCTX_IDLE) {
RTW89_CHANCTX_IDLE);
if (cur == RTW89_CHANCTX_IDLE)
if (chanctx_idx != RTW89_CHANCTX_IDLE)
if (chanctx_idx == RTW89_CHANCTX_IDLE)
atomic_set(&hal->roc_chanctx_idx, RTW89_CHANCTX_IDLE);
if (chanctx_idx == RTW89_CHANCTX_IDLE)
mgnt->chanctx_tbl[i][j] = RTW89_CHANCTX_IDLE;
if (chanctx_idx == RTW89_CHANCTX_IDLE)
if (roc_idx != RTW89_CHANCTX_IDLE) {
mgnt->chanctx_tbl[i][j] = RTW89_CHANCTX_IDLE;