mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-03 13:38:04 +02:00
core: refactor to use nm_utils_hwaddr_ntoa_len() instead of printf()
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
002718ec0f
commit
7013014744
1 changed files with 1 additions and 4 deletions
|
|
@ -1061,10 +1061,7 @@ set_link_status (NMDeviceWimax *self, WIMAX_API_LINK_STATUS_INFO_EX *link_status
|
|||
conv_rssi = sdk_rssi_to_dbm (link_status->RSSI);
|
||||
conv_cinr = sdk_cinr_to_db (link_status->CINR);
|
||||
conv_tx_pow = sdk_tx_pow_to_dbm (link_status->txPWR);
|
||||
new_bsid = g_strdup_printf ("%02X:%02X:%02X:%02X:%02X:%02X",
|
||||
link_status->bsId[0], link_status->bsId[1],
|
||||
link_status->bsId[2], link_status->bsId[3],
|
||||
link_status->bsId[4], link_status->bsId[5]);
|
||||
new_bsid = nm_utils_hwaddr_ntoa_len (link_status->bsId, 6);
|
||||
}
|
||||
|
||||
if (priv->center_freq != center_freq) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue