mac80211: clean up mesh HT operation
authorThomas Pedersen <thomas@cozybit.com>
Sat, 16 Feb 2013 18:41:04 +0000 (10:41 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Feb 2013 14:31:23 +0000 (15:31 +0100)
ieee80211_ht_cap_ie_to_sta_ht_cap() will clean up the
ht_supported flag and station bandwidth field for us
if the peer beacon doesn't have an HT capability element
(is operating as non-HT).

Also, we don't really need a special station ch_width
member to track the station operating mode any more so use
sta.bandwidth instead.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found