trxcon: trx_if_cmd_poweron(): send CMD POWERON unconditionally
This works-around a race condition happening when the upper layers are sending L1CTL RESET.req immediately followed by L1CTL FBSB.req. The problem is that the TRXC logic is considering the transceiver powered on until a response to CMD POWEROFF is received. Change-Id: I967ce047eb198f1eaf8446bb4c1f87a98d3de264 Related: OS#5500
This commit is contained in:
parent
5462ad040c
commit
e9bfff30ac
|
@ -261,8 +261,10 @@ static int trx_if_cmd_poweroff(struct trx_instance *trx)
|
||||||
|
|
||||||
static int trx_if_cmd_poweron(struct trx_instance *trx)
|
static int trx_if_cmd_poweron(struct trx_instance *trx)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (trx->powered_up)
|
if (trx->powered_up)
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
|
#endif
|
||||||
return trx_ctrl_cmd(trx, 1, "POWERON", "");
|
return trx_ctrl_cmd(trx, 1, "POWERON", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue