Search Linux Wireless

Re: [PATCH] mac80211: fix the multiple warnings for budding chipsets without ampdu_action defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2012-12-05 at 17:57 +0530, Chaitanya wrote:

> --- a/net/mac80211/agg-tx.c
> +++ b/net/mac80211/agg-tx.c
> @@ -445,7 +445,7 @@ int ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid,
>  
>      trace_api_start_tx_ba_session(pubsta, tid);
>  
> -    if (WARN_ON(!local->ops->ampdu_action))
> +    if (WARN_ON_ONCE(!local->ops->ampdu_action))
>          return -EINVAL;

Hm, no tabs it seems, so this doesn't apply either.

I'd just fix it myself for this simple a thing, but you'll probably
eventually want to submit more complicated patches ...

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux