aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-03-17 10:21:17 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-03-27 22:33:52 +0100
commit52354dd78567e898d5dd114380a17990ce1608f8 (patch)
treeaa9f090992580414448c2e95724bfc7a078efe81 /src/gb/gprs_ns.c
parent3a5991ef2f495f0010f9a7ba9079a826e94f8e81 (diff)
bssgp: Handle BSSGP STATUS messages
Currently incoming BSSGP STATUS messages are just logged and no other action is taken. This makes it impossible for higher layers to react to failures which are indicated by corresponding STATUS messages unless a timeout is triggered as a result of that failure later on. This commit adds a bssgp_rx_status() function and calls it on incoming STATUS messages. That function logs a message, increments the new BSSGP_CTR_STATUS counter if the bctx context exists and invokes an NM_STATUS status indication. The latter will allow the application to handle failures immediately. Since all STATUS messages should be handled, the function is already called in bssgp_rcvmsg and the message is no longer handled in (and will not reach) bssgp_rx_sign and bssgp_rx_ptp. Ticket: OW#1414 Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gb/gprs_ns.c')
0 files changed, 0 insertions, 0 deletions