]> git.pld-linux.org Git - packages/rtl8812au.git/blobdiff - update-cfg80211-support.patch
- fix building with kernel 4.11.9+
[packages/rtl8812au.git] / update-cfg80211-support.patch
index 1b853d9b7ccac64df5c72e0c1bda8d2a8a0950bd..ca270d143ddbcac206702538f75ff95a75848ccc 100644 (file)
@@ -71,24 +71,6 @@ index 3abcad9..3a5f667 100644
        }
  }
  
-@@ -838,6 +860,7 @@ void rtw_cfg80211_indicate_disconnect(_adapter *padapter)
- #endif //CONFIG_P2P
-       if (!padapter->mlmepriv.not_indic_disco) {
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
-               DBG_8192C("pwdev->sme_state(b)=%d\n", pwdev->sme_state);
-               if(pwdev->sme_state==CFG80211_SME_CONNECTING)
-@@ -849,6 +872,9 @@ void rtw_cfg80211_indicate_disconnect(_adapter *padapter)
-                       //DBG_8192C("pwdev->sme_state=%d\n", pwdev->sme_state);
-               DBG_8192C("pwdev->sme_state(a)=%d\n", pwdev->sme_state);
-+#else
-+              cfg80211_disconnected(padapter->pnetdev, 0, NULL, 0, GFP_ATOMIC);
-+#endif
-       }
- }
-       
 @@ -1666,7 +1692,11 @@ static int cfg80211_rtw_set_default_key(struct wiphy *wiphy,
  
  static int cfg80211_rtw_get_station(struct wiphy *wiphy,
This page took 0.136649 seconds and 4 git commands to generate.