]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit52ac8c488774b7ac6d1b0ed4c323b5de90d39d6e
tree06b25764ec6c7f1fded25bc7db004e028810fad7
parent572078be54856bf751af9a43d501ffb8d09b1ea7
mac80211: clean up mesh HT operation

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>
net/mac80211/mesh_plink.c
net/mac80211/sta_info.h