s_ss: fix change call barring password response struct incorrect issue 40/8440/1
authorCaiwen Zhang <caiwen.zhang@intel.com>
Sat, 8 Jun 2013 18:13:49 +0000 (02:13 +0800)
committerwootak.jung <wootak.jung@samsung.com>
Tue, 20 Aug 2013 00:28:17 +0000 (09:28 +0900)
change call barring password should return tresp_ss_general

Change-Id: I1896235e34c09fa47dbd607a19206ed43379ede4

src/s_ss.c

index e55b133..a75fe00 100755 (executable)
@@ -685,7 +685,7 @@ static void on_response_ss_barring_change_pwd(TcorePending *p, int data_len, con
        const TcoreATResponse *response = data;
        struct ss_confirm_info *info = 0;
        UserRequest *ur;
-       struct tresp_ss_barring resp;
+       struct tresp_ss_general resp;
        int err;
        GSList *tokens = NULL;
        const char *line;
@@ -716,7 +716,7 @@ static void on_response_ss_barring_change_pwd(TcorePending *p, int data_len, con
 
        dbg("on_response_ss_barring_change_pwd: rsp.err : %d, usr : %x", resp.err, ur);
        if (ur) {
-               tcore_user_request_send_response(ur, info->resp, sizeof(struct tresp_ss_barring), &resp);
+               tcore_user_request_send_response(ur, info->resp, sizeof(struct tresp_ss_general), &resp);
        } else {
                dbg("[ error ] ur is 0");
        }