if (!info->bss) { info->bss = cfg80211_get_bss(wdev->wiphy, info->channel, info->bssid, wdev->ssid, wdev->ssid_len, wdev->conn_bss_type, IEEE80211_PRIVACY_ANY); } if (WARN_ON(!info->bss)) return; Contributor pelwell commented Sep 13, 2019 That's the easy bit - now ...
(int)NLMSG_DEFAULT_SIZE));/* Alloc the SKB for vendor_event */skb = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, mem_needed);if(unlikely(!skb)) { WL_ERR(("skb alloc failed")); dhd_dev_pno_unlock_access_batch_results(wl_to_prmry_ndev(cfg));return-ENOMEM; } iter = results; co...