On Tue, 11 Jul 2006 16:45:58 -0400, John W. Linville wrote:
> John W. Linville:
>       d80211: use netif_tx_lock API

> --- a/net/d80211/ieee80211.c
> +++ b/net/d80211/ieee80211.c
> @@ -1338,7 +1338,7 @@ static void ieee80211_tx_pending(unsigne
>       struct ieee80211_txrx_data tx;
>       int i, ret, reschedule = 0;
>  
> -     spin_lock_bh(&dev->xmit_lock);
> +     netif_tx_lock_bh(dev);
>       dev->xmit_lock_owner = smp_processor_id();

Those dev->xmit_lock_owner assignments are done in netif_tx_[un]lock_bh,
so they should go away as well.

 Jiri

-- 
Jiri Benc
SUSE Labs
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to