Making sure that RX slots open after state change
Making sure that RX slots open after state change

After transmission we should change the state before invoking opening of
slots as we may start receiving in the rx slots and the state would
suddenly change from SENDING to RECEIVING without going through the
ACK_WAIT state (in case of CONFIRMED messages). Tests show that after
this slight adjustment, our number of ack retries have significantly
reduced.

mbedmicro/mbed,andcor02/mbed-os,andcor02/mbed-os,mbedmicro/mbed,andcor02/mbed-os,kjbracey-arm/mbed,c1728p9/mbed-os,andcor02/mbed-os,mbedmicro/mbed,c1728p9/mbed-os,kjbracey-arm/mbed,andcor02/mbed-os,kjbracey-arm/mbed,c1728p9/mbed-os,kjbracey-arm/mbed,c1728p9/mbed-os,c1728p9/mbed-os,mbedmicro/mbed,mbedmicro/mbed,andcor02/mbed-os,c1728p9/mbed-os