summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/510-nl80211_vlan_add_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-22 07:13:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-22 07:13:30 +0000
commit42c7a4ae6f1f6472079c7d91660b8ac3068ab7a3 (patch)
tree1ddf3a1870c024cb791d300b2898c7bbcec1e708 /package/mac80211/patches/510-nl80211_vlan_add_fix.patch
parenta4b548a00df5f8bcf28e7bb5093123f954eb367a (diff)
mac80211: update to compat-wireless 2009-11-21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/510-nl80211_vlan_add_fix.patch')
-rw-r--r--package/mac80211/patches/510-nl80211_vlan_add_fix.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/mac80211/patches/510-nl80211_vlan_add_fix.patch b/package/mac80211/patches/510-nl80211_vlan_add_fix.patch
deleted file mode 100644
index e0cdaead1..000000000
--- a/package/mac80211/patches/510-nl80211_vlan_add_fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/net/wireless/nl80211.c
-+++ b/net/wireless/nl80211.c
-@@ -1813,7 +1813,7 @@ static int nl80211_get_station(struct sk
- }
-
- /*
-- * Get vlan interface making sure it is on the right wiphy.
-+ * Get vlan interface making sure it is running and on the right wiphy.
- */
- static int get_vlan(struct genl_info *info,
- struct cfg80211_registered_device *rdev,
-@@ -1831,6 +1831,8 @@ static int get_vlan(struct genl_info *in
- return -EINVAL;
- if ((*vlan)->ieee80211_ptr->wiphy != &rdev->wiphy)
- return -EINVAL;
-+ if (!netif_running(*vlan))
-+ return -ENETDOWN;
- }
- return 0;
- }