[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
1 changed files with 1 additions and 1 deletions

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->rssi = info->rssi;
tgt_info->hidden = info->hidden; tgt_info->hidden = info->hidden;
/* hwaddr */ /* 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);
} }
} }
} }