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

madwifi: delay calibration with a timer when called from becaon context

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15029 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2009-03-25 01:26:20 +00:00
parent 6d85891fde
commit 041ed57ae2
22 changed files with 52 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -6723,10 +6723,10 @@ ath_rx_poll(struct net_device *dev, int
@@ -6725,10 +6725,10 @@ ath_rx_poll(struct net_device *dev, int
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
struct ath_softc *sc = container_of(napi, struct ath_softc, sc_napi);
struct net_device *dev = sc->sc_dev;
@@ -13,7 +13,7 @@
#endif
struct ath_buf *bf;
struct ieee80211com *ic = &sc->sc_ic;
@@ -6769,13 +6769,15 @@ process_rx_again:
@@ -6771,13 +6771,15 @@ process_rx_again:
break;
}
@@ -33,7 +33,7 @@
skb = bf->bf_skb;
if (skb == NULL) {
@@ -7059,8 +7061,8 @@ rx_next:
@@ -7061,8 +7063,8 @@ rx_next:
if (sc->sc_isr & HAL_INT_RX) {
u_int64_t hw_tsf = ath_hal_gettsf64(ah);
sc->sc_isr &= ~HAL_INT_RX;