1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

madwifi: fix division by zero

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13521 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2008-12-04 21:57:17 +00:00
parent 87aacb3b5b
commit b1b942f3c3
4 changed files with 10 additions and 7 deletions

View File

@@ -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);