Fix: Handle CM service request on already secured channel correctly

Second part of the previous patch. Log an error message in case
we receive a location updating request on an already authenticated
channel.
This commit is contained in:
Andreas Eversberg 2013-07-10 08:58:03 +02:00 committed by Holger Hans Peter Freyther
parent 66b52c1df8
commit a874b8d396
1 changed files with 5 additions and 0 deletions

View File

@ -281,6 +281,11 @@ static int _gsm0408_authorize_sec_cb(unsigned int hooknum, unsigned int event,
release_loc_updating_req(conn);
break;
case GSM_SECURITY_ALREADY:
LOGP(DMM, LOGL_ERROR, "We don't expect LOCATION "
"UPDATING after CM SERVICE REQUEST\n");
/* fall through */
case GSM_SECURITY_NOAVAIL:
case GSM_SECURITY_SUCCEEDED:
/* We're all good */