fixed assignment with no effect
a variable was wrongfully assigned to itself insted.
Bug: 10998131
Change-Id: Ia563e9f8aa43e264a6664d81d917b7517e1c89b5
diff --git a/bta/hh/bta_hh_utils.c b/bta/hh/bta_hh_utils.c
index 0c67513..c7c783c 100644
--- a/bta/hh/bta_hh_utils.c
+++ b/bta/hh/bta_hh_utils.c
@@ -335,7 +335,7 @@
APPL_TRACE_DEBUG1("found keycode %02x ", this_report[xx]);
#endif
p_data->caps_lock = p_kb->caps_lock;
- p_kb->num_lock = p_kb->num_lock;
+ p_data->num_lock = p_kb->num_lock;
}
memset (p_kb->last_report, 0, BTA_HH_MAX_RPT_CHARS);