diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-12-04 21:57:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-12-04 21:57:17 +0000 |
commit | ab61e2a25c3b5dc96236ca05237759d0f47be207 (patch) | |
tree | f1f12e5336617e9b7870c0445ff1067a1897962e /package/madwifi/patches/406-monitor_r3711.patch | |
parent | 3028fdb49470d6277b30b915f40bbfb9c6fe5840 (diff) | |
download | master-187ad058-ab61e2a25c3b5dc96236ca05237759d0f47be207.tar.gz master-187ad058-ab61e2a25c3b5dc96236ca05237759d0f47be207.tar.bz2 master-187ad058-ab61e2a25c3b5dc96236ca05237759d0f47be207.zip |
madwifi: fix division by zero
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13521 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/406-monitor_r3711.patch')
-rw-r--r-- | package/madwifi/patches/406-monitor_r3711.patch | 4 |
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 f5e5a9586d..64f19e0b8c 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); |