Return-path: Received: from wf-out-1314.google.com ([209.85.200.173]:38668 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926AbZAEWYj (ORCPT ); Mon, 5 Jan 2009 17:24:39 -0500 Received: by wf-out-1314.google.com with SMTP id 27so7812282wfd.4 for ; Mon, 05 Jan 2009 14:24:38 -0800 (PST) Message-ID: (sfid-20090105_232443_188965_90B0DB26) Date: Mon, 5 Jan 2009 17:24:38 -0500 From: "Bob Copeland" To: "Johannes Berg" Subject: Re: drivers returning wrong results from their _tx op Cc: linux-wireless , "Luis R. Rodriguez" , "Daniel Drake" , "Tomas Winkler" , "Javier Cardona" , Chr In-Reply-To: <1231193264.3697.41.camel@johannes> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1231193264.3697.41.camel@johannes> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jan 5, 2009 at 5:07 PM, Johannes Berg wrote: > spatch: > > @ r1 @ > identifier _tx, _ops; spatch is very neat... > First off: all those should return NETDEV_TX_OK/BUSY. > ath5k: returns 0/-1 Can the kerneldoc for mac80211 ops structure document it? I'll send a patch for ath5k unless someone beats me to it. -- Bob Copeland %% www.bobcopeland.com