summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/406-monitor_r3711.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-12-04 21:57:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-12-04 21:57:17 +0000
commit95a9e47a00fdc5b161219627644ad667bd2e643d (patch)
treeddd27feabf13f87fcddf07d39f6edefb7a91e3db /package/madwifi/patches/406-monitor_r3711.patch
parent130413bb0f1de803e52cd168c59373b3e6473f4e (diff)
downloadmtk-20170518-95a9e47a00fdc5b161219627644ad667bd2e643d.zip
mtk-20170518-95a9e47a00fdc5b161219627644ad667bd2e643d.tar.gz
mtk-20170518-95a9e47a00fdc5b161219627644ad667bd2e643d.tar.bz2
madwifi: fix division by zero
SVN-Revision: 13521
Diffstat (limited to 'package/madwifi/patches/406-monitor_r3711.patch')
-rw-r--r--package/madwifi/patches/406-monitor_r3711.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/406-monitor_r3711.patch b/package/madwifi/patches/406-monitor_r3711.patch
index f5e5a95..64f19e0 100644
--- a/package/madwifi/patches/406-monitor_r3711.patch
+++ b/package/madwifi/patches/406-monitor_r3711.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -6507,7 +6507,7 @@ ath_capture(struct net_device *dev, cons
+@@ -6510,7 +6510,7 @@ ath_capture(struct net_device *dev, cons
/* Never copy the SKB, as it is ours on the RX side, and this is the
* last process on the TX side and we only modify our own headers. */
@@ -9,7 +9,7 @@
if (tskb == NULL) {
DPRINTF(sc, ATH_DEBUG_ANY,
"Dropping; ath_skb_removepad failed!\n");
-@@ -6515,6 +6515,8 @@ ath_capture(struct net_device *dev, cons
+@@ -6518,6 +6518,8 @@ ath_capture(struct net_device *dev, cons
}
ieee80211_input_monitor(ic, tskb, bf, tx, tsf, sc);