mac80211: only bother printing highest data rate on debugfs if its set
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 7 Dec 2009 20:57:50 +0000 (15:57 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Dec 2009 18:56:02 +0000 (13:56 -0500)
commit9da3e068142ec7856b2f13261dcf0660fad32b61
tree1afb5803591d4ec5ecc7aea3c36b103056824541
parent7db94e210351e8578d4a98fed3edd4df5f10ae9d
mac80211: only bother printing highest data rate on debugfs if its set

IEEE-802.11n spec says the RX highest data rate field does
not specify the highest supported RX data rate if its not set.
Ignore it if not set then. Refer to section 7.3.56.4

Cc: johannes@sipsolutions.net
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ieee80211.h
net/mac80211/debugfs_sta.c