Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
fixup! agent: backhaul_manager: Refactor handler for AP_METRICS_RESPO…
Browse files Browse the repository at this point in the history
…NSE_MESSAGE

Signed-off-by: Ran Regev <[email protected]>
  • Loading branch information
RanRegev committed Jun 24, 2020
1 parent c459d9a commit 655f403
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1264,9 +1264,9 @@ bool backhaul_manager::send_slave_ap_metric_query_message(uint16_t mid,
// save mid and clear previous query
m_expected_ap_metrics_response.reset_to_new_mid(mid);

// compare two mac addresses using string compare on their octets
// compare two mac addresses using string compare on their octets
auto mac_comp = [](const sMacAddr &addr1, const sMacAddr &addr2) -> bool {
return strncmp((char*)addr1.oct, (char*)addr2.oct, 6) < 0;
return strncmp((char *)addr1.oct, (char *)addr2.oct, 6) < 0;
};

// sort the given bssid list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ ieee1905_1::CmduMessageTx &ExpectedApMetricsResponse::create_tx_message()
return m_response;
}

}
} // namespace beerocks
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ void ExpectedApMetricsResponse::add_expected_bssid(FirstIt first, LastIt last)
m_expected_bssid_list.insert(first, last);
}

}
} // namespace beerocks

#endif

0 comments on commit 655f403

Please sign in to comment.