rlc: Add missing break after GPRS_RLCMAC_CONTROL_BLOCK_OPT

Do not claim that the payload is not known. Add the missing break.

Do not print:
<0002> gprs_rlcmac.cpp:1174 GPRS_RLCMAC_CONTROL_BLOCK_OPT block payload is not supported.
<0002> gprs_rlcmac.cpp:1176 Unknown RLCMAC block payload.
This commit is contained in:
Holger Hans Peter Freyther 2013-10-16 16:34:09 +02:00
parent 483f77a275
commit 26da8361e9
1 changed files with 1 additions and 0 deletions

View File

@ -1172,6 +1172,7 @@ int gprs_rlcmac_rcv_block(uint8_t trx, uint8_t ts, uint8_t *data, uint8_t len,
break;
case GPRS_RLCMAC_CONTROL_BLOCK_OPT:
LOGP(DRLCMAC, LOGL_NOTICE, "GPRS_RLCMAC_CONTROL_BLOCK_OPT block payload is not supported.\n");
break;
default:
LOGP(DRLCMAC, LOGL_NOTICE, "Unknown RLCMAC block payload.\n");
rc = -EINVAL;