qcacmn: Fix NULL pointer access for mac address logging
The mac address is tried to be logged from a NULL bss data pointer, which leads to unwanted behavior. Remove the logging of mac address from the NULL bss data pointer. Change-Id: I83a9e8b1dac0bd4983bf074863987d39187f9db9 CRs-Fixed: 2761731
Este cometimento está contido em:

cometido por
snandini

ascendente
bd9610f11b
cometimento
66b1bf9608
@@ -1965,8 +1965,7 @@ void wlan_cfg80211_inform_bss_frame(struct wlan_objmgr_pdev *pdev,
|
||||
bss_data.frame_len = wlan_get_frame_len(scan_params);
|
||||
bss_data.mgmt = qdf_mem_malloc_atomic(bss_data.frame_len);
|
||||
if (!bss_data.mgmt) {
|
||||
osif_err("mem alloc failed for bss "QDF_MAC_ADDR_FMT" seq %d",
|
||||
QDF_MAC_ADDR_REF(bss_data.mgmt->bssid),
|
||||
osif_err("bss mem alloc failed for seq %d",
|
||||
scan_params->seq_num);
|
||||
return;
|
||||
}
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador