wifi: fix kernel4.9 carsh issue
Change-Id: I9081eb565c35dbca9b246434d9c93e3e539d4559
This commit is contained in:

committed by
Icenowy Zheng

parent
a7350d05d5
commit
96610a9c04
@@ -2024,7 +2024,9 @@ void rtw_cfg80211_indicate_scan_done(_adapter *adapter, bool aborted)
|
||||
{
|
||||
struct rtw_wdev_priv *pwdev_priv = adapter_wdev_data(adapter);
|
||||
_irqL irqL;
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0))
|
||||
struct cfg80211_scan_info info;
|
||||
#endif
|
||||
_enter_critical_bh(&pwdev_priv->scan_req_lock, &irqL);
|
||||
if (pwdev_priv->scan_request != NULL) {
|
||||
#ifdef CONFIG_DEBUG_CFG80211
|
||||
|
Reference in New Issue
Block a user