|
@@ -12016,9 +12016,10 @@ csr_roam_diag_joined_new_bss(tpAniSirGlobal mac_ctx,
|
|
|
pIbssLog->eventId = WLAN_IBSS_EVENT_COALESCING;
|
|
|
if (pNewBss) {
|
|
|
qdf_copy_macaddr(&pIbssLog->bssid, &pNewBss->bssId);
|
|
|
- if (pNewBss->ssId.length)
|
|
|
- qdf_mem_copy(pIbssLog->ssid, pNewBss->ssId.ssId,
|
|
|
- pNewBss->ssId.length);
|
|
|
+ if (pNewBss->ssId.length > HOST_LOG_MAX_SSID_SIZE)
|
|
|
+ pNewBss->ssId.length = HOST_LOG_MAX_SSID_SIZE;
|
|
|
+ qdf_mem_copy(pIbssLog->ssid, pNewBss->ssId.ssId,
|
|
|
+ pNewBss->ssId.length);
|
|
|
pIbssLog->operatingChannel = pNewBss->channelNumber;
|
|
|
}
|
|
|
if (IS_SIR_STATUS_SUCCESS(wlan_cfg_get_int(mac_ctx,
|