aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/commands.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-02-22 15:53:06 -0800
committerDan Williams <dcbw@redhat.com>2010-02-22 15:53:06 -0800
commitbdfddd57e772fa86825661b6074f7909106c1569 (patch)
treeaca83445c23ec35b8e7b917f45c0dcead33166e9 /libqcdm/src/commands.c
parent98ec1bdfea443c58e938a0adf435f396212cc092 (diff)
qcdm: fix STATUS command SID & NID reporting
Diffstat (limited to 'libqcdm/src/commands.c')
-rw-r--r--libqcdm/src/commands.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libqcdm/src/commands.c b/libqcdm/src/commands.c
index 97817202..c0d0783b 100644
--- a/libqcdm/src/commands.c
+++ b/libqcdm/src/commands.c
@@ -276,10 +276,10 @@ qcdm_cmd_cdma_status_result (const char *buf, gsize len, GError **error)
qcdm_result_add_uint32 (result, QCDM_CMD_CDMA_STATUS_ITEM_PILOT_BASE, tmp_num);
tmp_num = (guint32) GUINT16_FROM_LE (rsp->sid);
- qcdm_result_add_uint32 (result, QCDM_CMD_CDMA_STATUS_ITEM_RX_STATE, tmp_num);
+ qcdm_result_add_uint32 (result, QCDM_CMD_CDMA_STATUS_ITEM_SID, tmp_num);
tmp_num = (guint32) GUINT16_FROM_LE (rsp->nid);
- qcdm_result_add_uint32 (result, QCDM_CMD_CDMA_STATUS_ITEM_RX_STATE, tmp_num);
+ qcdm_result_add_uint32 (result, QCDM_CMD_CDMA_STATUS_ITEM_NID, tmp_num);
return result;
}
@@ -335,4 +335,3 @@ qcdm_cmd_nv_get_mdn_result (const char *buf, gsize len, GError **error)
/**********************************************************************/
-