]> git.baikalelectronics.ru Git - kernel.git/commit
brcm80211: avoid code duplication on set tx power
authorLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
Mon, 28 Nov 2011 21:38:49 +0000 (16:38 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Nov 2011 20:08:29 +0000 (15:08 -0500)
commit5a16dbc60cbdc871e771ab3fe9f4532d4a784fab
tree675f69e44cefe8d318d1a8dc30eff236840cf181
parent96a8e957daf7e942659e7b0c090a7a00e7f27a66
brcm80211: avoid code duplication on set tx power

Both cases are doing the same so treat the switch cases
for both as an "or".

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c