summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-05-30 17:04:31 +0200
committerPatrick McHardy <kaber@trash.net>2011-05-30 17:04:31 +0200
commit7e73e6223dc6ade8052ac9bd06e161345edba716 (patch)
tree654861effe1889a848f8e9c4bf07c191ffa22caa /src
parent7b76f999c8fcb34652512a41f02e8a09884dd77b (diff)
mm: only complete info request procedure in PP mode
The procedure only consists of a single message in FP->PP direction, don't terminate prematurely in FP mode. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src')
-rw-r--r--src/mm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm.c b/src/mm.c
index 62075a5..54d7c6f 100644
--- a/src/mm.c
+++ b/src/mm.c
@@ -2828,7 +2828,8 @@ static void dect_mm_rcv_info_request(struct dect_handle *dh,
param->iwu_to_iwu = dect_ie_hold(msg.iwu_to_iwu);
param->escape_to_proprietary = dect_ie_hold(msg.escape_to_proprietary);
- dect_mm_procedure_complete(dh, mme);
+ if (dh->mode == DECT_MODE_PP)
+ dect_mm_procedure_complete(dh, mme);
mm_debug(mme, "MM_INFO-ind");
dh->ops->mm_ops->mm_info_ind(dh, mme, param);