From: Michal Kazior Date: Tue, 31 Mar 2015 10:49:20 +0000 (+0000) Subject: ath10k: clean up set_bitrate_mask handling X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ae542257476e183a368055cbd9f67ba88fc8d01;p=pandora-kernel.git ath10k: clean up set_bitrate_mask handling The code was a bit convoluted. Clean it up and prepare for future changes. While at it this fixes incorrect verification of 'single nss' case when ss2 rates were missing while ss1 and ss3 were requested resulting in nss=3 being set: iw wlan1 set bitrates legacy-5 ht-mcs-5 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23 vht-mcs-5 1:0-9 3:0-9 Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed