1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-30 00:47:38 +00:00

Merge pull request #642 from TheDJVG/v5.6.4.2

Bugfix: Phy cannot be moved into another namespace
This commit is contained in:
Christian Bremvåg 2020-05-09 11:13:56 +02:00 committed by GitHub
commit dff6a65091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9614,10 +9614,10 @@ struct ieee80211_supported_band *band;
wiphy->bands[NL80211_BAND_5GHZ] = rtw_spt_band_alloc(BAND_ON_5G); wiphy->bands[NL80211_BAND_5GHZ] = rtw_spt_band_alloc(BAND_ON_5G);
#endif #endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38) && LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0))
#if defined(CONFIG_NET_NS) #if defined(CONFIG_NET_NS)
wiphy->flags |= WIPHY_FLAG_NETNS_OK; wiphy->flags |= WIPHY_FLAG_NETNS_OK;
#endif //CONFIG_NET_NS #endif //CONFIG_NET_NS
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38) && LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0))
wiphy->flags |= WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS; wiphy->flags |= WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS;
#endif #endif