diff options
Diffstat (limited to 'patches/collateral-evolutions/network/32-remove-ns-type/net_wireless_sysfs.patch')
-rw-r--r-- | patches/collateral-evolutions/network/32-remove-ns-type/net_wireless_sysfs.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/patches/collateral-evolutions/network/32-remove-ns-type/net_wireless_sysfs.patch b/patches/collateral-evolutions/network/32-remove-ns-type/net_wireless_sysfs.patch deleted file mode 100644 index 7db2ddec..00000000 --- a/patches/collateral-evolutions/network/32-remove-ns-type/net_wireless_sysfs.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/net/wireless/sysfs.c -+++ b/net/wireless/sysfs.c -@@ -138,12 +138,14 @@ static int wiphy_resume(struct device *d - } - #endif - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) - static const void *wiphy_namespace(struct device *d) - { - struct wiphy *wiphy = container_of(d, struct wiphy, dev); - - return wiphy_net(wiphy); - } -+#endif - - struct class ieee80211_class = { - .name = "ieee80211", -@@ -155,8 +157,10 @@ struct class ieee80211_class = { - .suspend = wiphy_suspend, - .resume = wiphy_resume, - #endif -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) - .ns_type = &net_ns_type_operations, - .namespace = wiphy_namespace, -+#endif - }; - - int wiphy_sysfs_init(void) |