[gb proxy] treat BVCI=1 consistently like signalling
1 is reserved for point-to-multipoint data, i.e. not a point-to-point BVCI.
This commit is contained in:
parent
5e106d7765
commit
c471d3d8a2
|
@ -255,7 +255,7 @@ static int gbprox_rx_sig_from_bss(struct msgb *msg, struct gprs_nsvc *nsvc,
|
|||
struct gbprox_peer *from_peer;
|
||||
struct gprs_ra_id raid;
|
||||
|
||||
if (ns_bvci != 0) {
|
||||
if (ns_bvci != 0 && ns_bvci != 1) {
|
||||
LOGP(DGPRS, LOGL_NOTICE, "NSEI=%u BVCI=%u is not signalling\n",
|
||||
nsvc->nsei, ns_bvci);
|
||||
return -EINVAL;
|
||||
|
@ -430,7 +430,7 @@ static int gbprox_rx_sig_from_sgsn(struct msgb *msg, struct gprs_nsvc *nsvc,
|
|||
uint16_t bvci;
|
||||
int rc = 0;
|
||||
|
||||
if (ns_bvci != 0) {
|
||||
if (ns_bvci != 0 && ns_bvci != 1) {
|
||||
LOGP(DGPRS, LOGL_NOTICE, "NSEI=%u(SGSN) BVCI=%u is not "
|
||||
"signalling\n", nsvc->nsei, ns_bvci);
|
||||
/* FIXME: Send proper error message */
|
||||
|
|
Loading…
Reference in New Issue