Skip to content

Commit

Permalink
Fix for controller bus error
Browse files Browse the repository at this point in the history
  • Loading branch information
behanansaju authored and Behanan committed Jan 24, 2025
1 parent 713d2f1 commit 2d52e9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dm/dm_bss_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ int dm_bss_list_t::update_db(db_client_t& db_client, dm_orch_type_t op, void *da

bool dm_bss_list_t::search_db(db_client_t& db_client, void *ctx, void *key)
{
mac_addr_str_t mac;
em_long_string_t str;

while (db_client.next_result(ctx)) {
db_client.get_string(ctx, mac, 1);
db_client.get_string(ctx, str, 1);

if (strncmp(mac, (char *)key, strlen((char *)key)) == 0) {
if (strncmp(str, (char *)key, strlen((char *)key)) == 0) {
return true;
}
}
Expand Down

0 comments on commit 2d52e9e

Please sign in to comment.