lchan: Release all higher sapis on the local end.

According to GSM 04.08 3.4.13.1.1 RR connection release in NOTE 1
one should release all non main signaling links using the local end
link release.
This commit is contained in:
Holger Hans Peter Freyther
2011-12-27 21:43:22 +01:00
parent 93599a2c2c
commit 960c4044e6

View File

@@ -389,7 +389,7 @@ static int _lchan_release_next_sapi(struct gsm_lchan *lchan)
link_id = sapi;
if (lchan->type == GSM_LCHAN_TCH_F || lchan->type == GSM_LCHAN_TCH_H)
link_id |= 0x40;
rsl_release_request(lchan, link_id, lchan->release_mode);
rsl_release_request(lchan, link_id, RSL_REL_LOCAL_END);
return 0;
}