4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 10:03:31 +08:00

[components][wlan]: update rt_wlan_join_scan_callback

This commit is contained in:
褚仕成 2023-11-22 23:54:24 +08:00 committed by Meco Man
parent 896b1fe2da
commit 8635a4ce8d

View File

@ -867,7 +867,7 @@ static void rt_wlan_join_scan_callback(int event, struct rt_wlan_buff *buff, voi
tgt_info->rssi = info->rssi;
tgt_info->hidden = info->hidden;
/* hwaddr */
rt_memcmp(tgt_info->bssid,info->bssid,RT_WLAN_BSSID_MAX_LENGTH);
rt_memcpy(tgt_info->bssid,info->bssid,RT_WLAN_BSSID_MAX_LENGTH);
}
}
}