[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Advertising stopped suddenly
[Cause & Measure] Comparison code is wrong.
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Ifac82672ed7c178e496e775160b5ec7704f481b5
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
app = &numapps[k];
/* Search for a app which has same sender and stop adv is running */
- if (!strncasecmp(app->sender, name, strlen(name)) && app->is_initialized == TRUE) {
+ if (strcasecmp(app->sender, name) == 0 && app->is_initialized == TRUE) {
BT_DBG("numapps[%d] Match found, name: %s", k, name);
/* TODO 2: Need to manage app info as list, not array.