From 52e338eefff89d3e351dc33d9128e3a74b87af04 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 21 May 2007 03:36:08 +0000 Subject: cleanup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7297 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/300-napi_polling.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/madwifi/patches/300-napi_polling.patch') diff --git a/package/madwifi/patches/300-napi_polling.patch b/package/madwifi/patches/300-napi_polling.patch index 6572112b6..0f3efe833 100644 --- a/package/madwifi/patches/300-napi_polling.patch +++ b/package/madwifi/patches/300-napi_polling.patch @@ -66,7 +66,7 @@ diff -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcoun * pass it on to the hardware. */ - ATH_TXQ_LOCK(txq); -+ ATH_TXQ_LOCK_BH(txq); ++ ATH_TXQ_LOCK_IRQ(txq); if (ni && ni->ni_vap && txq == &ATH_VAP(ni->ni_vap)->av_mcastq) { /* * The CAB queue is started from the SWBA handler since @@ -89,7 +89,7 @@ diff -urN madwifi-ng-refcount-r2313-20070505.old/ath/if_ath.c madwifi-ng-refcoun } } - ATH_TXQ_UNLOCK(txq); -+ ATH_TXQ_UNLOCK_BH(txq); ++ ATH_TXQ_UNLOCK_IRQ(txq); sc->sc_devstats.tx_packets++; sc->sc_devstats.tx_bytes += framelen; -- cgit v1.2.3