mac80211: force use_short_slot=true for 5GHz
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jan 2010 02:00:48 +0000 (03:00 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Jan 2010 22:02:07 +0000 (17:02 -0500)
commit43d3534344bbdcfa9c61a6b38490cd4cbb2f6bb6
tree66b87eb3d8c1751af37cf66afde977bb100db4a8
parent84920e3e47f654a22b540606fb8c1ab90b870942
mac80211: force use_short_slot=true for 5GHz

Normally 5GHz does not have a concept of long vs short slot time,
however the slot time that it ends up using is the same as for 2.4 GHZ
and use_short_slot == true
Because of that, it makes more sense to force use_short_slot = true
whenever 5 GHz is being used, so that this particular check does not
have to be in every single driver that uses this flag.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/mlme.c