bcma: extract antenna gains from SPROM correctly
authorRafał Miłecki <zajec5@gmail.com>
Tue, 15 Jul 2014 14:54:47 +0000 (16:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Jul 2014 17:45:24 +0000 (13:45 -0400)
commitd8aef3239e7d6a1bd550014ac766e5ec11c63ea9
treed379652b0da2e2936c3c91a8c5ec32e3d1bc567f
parent6ad59343ecd72dd3f83c4db3bcddbb0beabb4c4c
bcma: extract antenna gains from SPROM correctly

Just like in case of SSB SPROMs they are encoded in a bit tricky way.
SPROM struct already uses s8 type and it's supposed to store decoded
values.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/sprom.c
drivers/net/wireless/brcm80211/brcmsmac/main.c