diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-07 12:50:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-07 12:50:15 +0000 |
commit | fafaa38ae55cab486f2b929a131fe433ce180224 (patch) | |
tree | 25d7e19e357623b44714e2052228a7e05eb3ade7 /package/madwifi/patches/461-rx_stats_count_fix.patch | |
parent | 6f752c725a5b592dff8c17f0fe4e905de22b8112 (diff) | |
download | mtk-20170518-fafaa38ae55cab486f2b929a131fe433ce180224.zip mtk-20170518-fafaa38ae55cab486f2b929a131fe433ce180224.tar.gz mtk-20170518-fafaa38ae55cab486f2b929a131fe433ce180224.tar.bz2 |
move a few unmaintained packages from trunk to /packages
SVN-Revision: 33634
Diffstat (limited to 'package/madwifi/patches/461-rx_stats_count_fix.patch')
-rw-r--r-- | package/madwifi/patches/461-rx_stats_count_fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/package/madwifi/patches/461-rx_stats_count_fix.patch b/package/madwifi/patches/461-rx_stats_count_fix.patch deleted file mode 100644 index 4b5ce28..0000000 --- a/package/madwifi/patches/461-rx_stats_count_fix.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/net80211/ieee80211_input.c -+++ b/net80211/ieee80211_input.c -@@ -202,7 +202,6 @@ ieee80211_input(struct ieee80211vap * va - struct ieee80211com *ic; - struct net_device *dev; - struct ieee80211_node *ni_wds = NULL; -- struct net_device_stats *stats; - struct ieee80211_frame *wh; - struct ieee80211_key *key; - struct ether_header *eh; -@@ -685,12 +684,6 @@ ieee80211_input(struct ieee80211vap * va - if (! accept_data_frame(vap, ni, key, skb, eh)) - goto out; - -- if (ni->ni_subif && ((eh)->ether_type != __constant_htons(ETHERTYPE_PAE))) -- stats = &ni->ni_subif->iv_devstats; -- else -- stats = &vap->iv_devstats; -- stats->rx_packets++; -- stats->rx_bytes += skb->len; - IEEE80211_NODE_STAT(ni, rx_data); - IEEE80211_NODE_STAT_ADD(ni, rx_bytes, skb->len); - ic->ic_lastdata = jiffies; |