]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: refactor cfg80211_calculate_bitrate()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Feb 2017 14:02:08 +0000 (15:02 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 Mar 2017 08:21:44 +0000 (09:21 +0100)
commit39de6e19c1caa20753318a7df474bb1b54064b4f
tree3a71f6b71ef9acd21578e3a491f6172eb29e0b54
parent93aed13c54f02348167c90c084be3257f8c16d17
cfg80211: refactor cfg80211_calculate_bitrate()

This function contains the HT calculations, which makes no
sense - split that out into a separate function. As a side
effect, this makes the 60G flag independent from HT_MCS so
remove the MCS one from wil6210 (also deleting a duplicate
assignment.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/wil6210/cfg80211.c
net/wireless/util.c