Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:34321 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754500Ab2E3NxN (ORCPT ); Wed, 30 May 2012 09:53:13 -0400 Message-ID: <1338385907.4511.22.camel@jlt3.sipsolutions.net> (sfid-20120530_163648_434952_E9150AC1) Subject: Re: [PATCH] mac80211: print info when disabling HT From: Johannes Berg To: Joe Perches Cc: John Linville , linux-wireless Date: Wed, 30 May 2012 15:51:47 +0200 In-Reply-To: <1338385736.32113.8.camel@joe2Laptop> References: <1338379000.4511.12.camel@jlt3.sipsolutions.net> <1338385736.32113.8.camel@joe2Laptop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2012-05-30 at 06:48 -0700, Joe Perches wrote: > On Wed, 2012-05-30 at 13:56 +0200, Johannes Berg wrote: > > Make mac80211 print a message when it disables > > HT due to the connection using WEP/TKIP or due > > to the AP not supporting WMM/QoS. > > trivia: please use: > netdev_( > not > netdev_printk(KERN_, > [] > > + netdev_printk(KERN_INFO, sdata->dev, > > + "disabling HT due to WEP/TKIP use\n"); > > netdev_info(sdata->dev, etc...) > > etc... *sigh* Ok. I'm curious as to what the reason is for both, and using netdev_printk() everywhere? johannes