rt2x00: Restructure bw_comp calculation
authorHelmut Schaa <helmut.schaa@googlemail.com>
Mon, 28 Mar 2011 11:31:30 +0000 (13:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Apr 2011 20:20:02 +0000 (16:20 -0400)
commit75faae8b80171b447bfc4bac448308676fb8a663
treee0699a7e0c7056db1859aa3e523e9323ceeedd1c
parentaca7305be5cd9e07f042e6bf6547e7c5635f0041
rt2x00: Restructure bw_comp calculation

Move the HT40 check inside the calculation function to make it easier
for a later cleanup.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c