]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mac80211: prevent spurious HT/VHT downgrade message
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Feb 2013 11:13:53 +0000 (12:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:26:01 +0000 (09:26 -0700)
commit366c19c14bfdc64a66f4eb5010fcdbb6a6a9746c
treef0619290b83984b1d84659550c5cfafd4b93beba
parent6fe27f0f65f8e71d096e825cff5414c7ab12163c
mac80211: prevent spurious HT/VHT downgrade message

commit 586e01ededf9b713a1512dd658806791a7ca1a50 upstream.

Even when connecting to an AP that doesn't support VHT,
and even when the local device doesn't support it either,
the downgrade message gets printed. Suppress the message
if HT and/or VHT is disabled.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Andrew Lutomirski <luto@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c