aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-02-08 08:25:07 -0600
committerDan Williams <dcbw@redhat.com>2013-02-08 09:16:22 -0600
commit8027b5a90238472a8d97e4fd14d024321747fc6e (patch)
tree633c0d70c05239b46525b1944eee09538738f72a
parenta9f7e57931c5cf398daa4affc8be15844cd1f216 (diff)
qcdm: fix handling of active pilot set
Typo caused candidate or remaining sets to be treated as the active pilot set.
-rw-r--r--libqcdm/src/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqcdm/src/commands.c b/libqcdm/src/commands.c
index 8e526c9e..e3c92fb9 100644
--- a/libqcdm/src/commands.c
+++ b/libqcdm/src/commands.c
@@ -652,7 +652,7 @@ qcdm_cmd_pilot_sets_result (const char *buf, size_t len, int *out_error)
sets_len = rsp->candidate_count * sizeof (DMCmdPilotSetsSet);
if (sets_len > 0) {
qcdm_result_add_u8_array (result,
- PILOT_SETS_CMD_ACTIVE_SET,
+ PILOT_SETS_CMD_CANDIDATE_SET,
(const u_int8_t *) &rsp->sets[rsp->active_count],
sets_len);
}
@@ -660,7 +660,7 @@ qcdm_cmd_pilot_sets_result (const char *buf, size_t len, int *out_error)
sets_len = rsp->neighbor_count * sizeof (DMCmdPilotSetsSet);
if (sets_len > 0) {
qcdm_result_add_u8_array (result,
- PILOT_SETS_CMD_ACTIVE_SET,
+ PILOT_SETS_CMD_NEIGHBOR_SET,
(const u_int8_t *) &rsp->sets[rsp->active_count + rsp->candidate_count],
sets_len);
}