Return-path: Received: from mail-io0-f174.google.com ([209.85.223.174]:34321 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753296AbcA2Sjl (ORCPT ); Fri, 29 Jan 2016 13:39:41 -0500 MIME-Version: 1.0 In-Reply-To: <56ABA73C.1060504@lwfinger.net> References: <1453983185.2217.12.camel@sipsolutions.net> <1454013625.2332.9.camel@sipsolutions.net> <1454019155.2332.15.camel@sipsolutions.net> <56AAC66C.1080800@lwfinger.net> <1454056380.3369.2.camel@sipsolutions.net> <1454084146.2800.0.camel@sipsolutions.net> <56ABA73C.1060504@lwfinger.net> Date: Fri, 29 Jan 2016 10:39:40 -0800 Message-ID: (sfid-20160129_193948_857292_32EFD4CA) Subject: Re: WARNING at net/mac80211/rate.c:513 ieee80211_get_tx_rates [mac80211] From: Linus Torvalds To: Larry Finger Cc: Johannes Berg , Chaoming Li , Kalle Valo , David Miller , Linux Wireless List , Network Development Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Jan 29, 2016 at 9:54 AM, Larry Finger wrote: > > The test patch that Johannes sent earlier was close. The section needed to > add VHT rates is: Hmm. This looks pretty much exactly like what I already tried (I had fixed Johannes' patch to use "vht_cap" already, since it didn't compile otherwise). So the only difference is that it only checks WIRELESS_MODE_AC_5G. But it worked for me this time. I have no idea why. Maybe Johannes' patch actually always worked for me, but I just had a transient problem that made me think it didn't. I think I only booted it once, and went "oh, ok, no network, that didn't work". Linus