gprs_sndcp_comp_free: Replace ifelse with switch and better handling of error

gprs_sndcp_dcomp_term asserts if compclass is not
SNDCP_XID_DATA_COMPRESSION, so this way by checking in the caller too we
easily now if the unexpected value is in compclass or in algo.dcomp.

Change-Id: I4600e6a137f42f20fdf69637e4a9048b265c1748
This commit is contained in:
Pau Espin 2019-04-27 13:34:23 +02:00
parent bec7041161
commit 8c3fbf8f15

Diff Content Not Available