diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-01-24 23:39:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-01-24 23:39:00 +0000 |
commit | e85f50118cb48d03bf3c83e559f3fb815d11ce7b (patch) | |
tree | 236fa8279c175edff0708ea7a66d51f9476a1958 /package/madwifi/patches/441-fix_ibss_node_handling.patch | |
parent | 6351d88e29a6e0ffc96d11d33d22eafdbfd1a41b (diff) | |
download | master-31e0f0ae-e85f50118cb48d03bf3c83e559f3fb815d11ce7b.tar.gz master-31e0f0ae-e85f50118cb48d03bf3c83e559f3fb815d11ce7b.tar.bz2 master-31e0f0ae-e85f50118cb48d03bf3c83e559f3fb815d11ce7b.zip |
madwifi: fix some potential null pointer derefs with wds
SVN-Revision: 19322
Diffstat (limited to 'package/madwifi/patches/441-fix_ibss_node_handling.patch')
-rw-r--r-- | package/madwifi/patches/441-fix_ibss_node_handling.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/441-fix_ibss_node_handling.patch b/package/madwifi/patches/441-fix_ibss_node_handling.patch index b12cf6797d..b12930fbdf 100644 --- a/package/madwifi/patches/441-fix_ibss_node_handling.patch +++ b/package/madwifi/patches/441-fix_ibss_node_handling.patch @@ -44,8 +44,8 @@ if (dir != IEEE80211_FC1_DIR_NODS) { IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, wh, "data", "invalid dir 0x%x", dir); -@@ -3556,6 +3561,11 @@ ieee80211_recv_mgmt(struct ieee80211vap - } else if (vap->iv_opmode == IEEE80211_M_WDS) { +@@ -3558,6 +3563,11 @@ ieee80211_recv_mgmt(struct ieee80211vap + } else if ((vap->iv_opmode == IEEE80211_M_WDS) && vap->iv_wdsnode) { found = 1; ni = ni_or_null = vap->iv_wdsnode; + } else if (vap->iv_opmode == IEEE80211_M_IBSS) { @@ -56,7 +56,7 @@ } IEEE80211_UNLOCK_IRQ(vap->iv_ic); -@@ -3684,19 +3694,8 @@ ieee80211_recv_mgmt(struct ieee80211vap +@@ -3686,19 +3696,8 @@ ieee80211_recv_mgmt(struct ieee80211vap vap->iv_stats.is_rx_ssidmismatch++; /*XXX*/ return; } |