bsc: Fix a crash in case we get a NACK from the BTS for a new channel

In case of a nack the secondary_lchan will be NULLed but then the T10
timeout will attempt to release the channel and we will try to release
a NULL pointer.

Daniel witnessed this crash at the camp and added the NULL check at:
28d9ccbca0cb522c90f551cf4bf243acab7a1944, it is also the proper fix
given the _NAK handling.
1 file changed
tree: aac60b98f6379042a0cb808a7aff6f1eba16517a
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/
  5. README