From: Gabor Juhos Date: Mon, 8 Jul 2013 14:08:23 +0000 (+0200) Subject: rt2x00: rt2800lib: add rt2800_txpower_to_dev helper X-Git-Tag: v3.12-rc1~132^2~297^2^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97aa03f15e83174df74aa468eea127c5cee480f0;p=pandora-kernel.git rt2x00: rt2800lib: add rt2800_txpower_to_dev helper Introduce a new helper function for converting the default TX power values from EEPROM into mac80211 values. The change improves the readability and it makes it easier to add support for other chipsets. Signed-off-by: Gabor Juhos Acked-by: Stanislaw Gruszka Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed