From: Michal Kazior Date: Mon, 30 Mar 2015 06:51:56 +0000 (+0300) Subject: ath10k: deduplicate bitrate to rate idx conversion X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01cebe1c50d43a79de1ee48bd9917c9fbbd3901d;p=pandora-kernel.git ath10k: deduplicate bitrate to rate idx conversion It's possible to derive rate index from bitrate without any additional mapping structures/logic. This should have little to none impact on performance since this is only done for management frames and the previous approach wasn't particularly optimized. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed