aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-10-26 18:37:09 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-06 21:41:51 +0100
commit694c82d8e39b2399ad5ea158839c181aca03f350 (patch)
tree6b69240ec52aa4daf754b3a9e7796d12a741cb1c /openbsc/include
parent2a260ee9bc70acee156ab240f5a870b65dea5cd1 (diff)
mncc: Address the fixme and put the mncc_sock_state in gsm_network
Remove the unused mncc_sock_write_pending, switch over from the static s_state to net->mncc_state.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index f74ece8fb..21c788932 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -11,6 +11,8 @@
#define OBSC_NM_W_ACK_CB(__msgb) (__msgb)->cb[3]
+struct mncc_sock_state;
+
/* the data structure stored in msgb->cb for openbsc apps */
struct openbsc_msgb_cb {
unsigned char *bssgph;
@@ -247,6 +249,7 @@ struct gsm_network {
struct gsmnet_stats stats;
/* layer 4 */
+ struct mncc_sock_state *mncc_state;
int (*mncc_recv) (struct gsm_network *net, struct msgb *msg);
struct llist_head upqueue;
struct llist_head trans_list;