]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Simplify calculating of hw value used for setting TX rate
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 19 Aug 2016 21:46:37 +0000 (17:46 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 16:57:23 +0000 (19:57 +0300)
commitf8ef0f15d2e1715fb0a7f481a6d4b96b92a718f4
tree703af17864f93514ebfc9724723ca6d28cee8487
parentcf3b454ff322476d2557e27473c682532279a8f5
rtl8xxxu: Simplify calculating of hw value used for setting TX rate

Calculating the value in one place rather than using one calculation
in one place and a different one for management frames in another
location makes little sense.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c