mac80211: prevent spurious HT/VHT downgrade message
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Feb 2013 11:13:53 +0000 (12:13 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:45 +0000 (09:41 +0100)
commit586e01ededf9b713a1512dd658806791a7ca1a50
tree4957c1373136d14874389e429a73915a58447034
parent932dd97c5fef091dd6f605fb1d40143d67d91e09
mac80211: prevent spurious HT/VHT downgrade message

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>
net/mac80211/mlme.c