| 645 | } |
| 646 | |
| 647 | void MSInfo::msDeassignChannels() |
| 648 | { |
| 649 | TBF *tbf; |
| 650 | RN_MS_FOR_ALL_TBF(this,tbf) { |
| 651 | if (tbf->isTransmitting()) { |
| 652 | GLOG(ERR) << "DeassignChannels while TBF transmitting:"<<tbf; |
| 653 | // The caller was suppsed to prevent this. |
| 654 | // No recovery is possible; just kill it. |
| 655 | tbf->mtCancel(MSStopCause::Goof,TbfNoRetry); |
| 656 | } |
| 657 | } |
| 658 | // We dont call this if there are any active TBFs, but |
| 659 | // there could be attached TBFs that have not started yet. |
| 660 | // We must de-attach them to release the channels. |
| 661 | msPCHDowns.clear(); |
| 662 | msPCHUps.clear(); |
| 663 | } |
| 664 | |
| 665 | // TODO: |
| 666 | void MSInfo::msReassignChannels() |
no test coverage detected