brcmsmac: avoid calling set_txpwr_by_index() twice
authorArend van Spriel <arend@broadcom.com>
Tue, 20 Aug 2013 14:00:42 +0000 (16:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 Aug 2013 18:30:33 +0000 (14:30 -0400)
commit3e72ef73c3414be5932ac75d0938747fb232d4ae
treea31728f54a7cfbe768a0a99369b870e7c69cddbe
parentd50ec00160b1842d492c8b871bcd16301454cdcf
brcmsmac: avoid calling set_txpwr_by_index() twice

For lcnphy revision 1 or when hardware supports i/q calibration the
function wlc_lcnphy_set_txpwr_by_index() was called twice.

Tested-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c