summaryrefslogtreecommitdiffstats
path: root/drivers/mcb
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-07-18 16:24:37 -0700
committerKalle Valo <kvalo@codeaurora.org>2016-07-19 21:14:20 +0300
commitf823a2aa8f4674c095a5413b9e3ba12d82df06f2 (patch)
tree0e800d39e9b081058ed5c1affba0b3d0f151d659 /drivers/mcb
parent5c5fa1f464ac954982df1d96b9f9a5103d21aedd (diff)
downloadlinux-f823a2aa8f4674c095a5413b9e3ba12d82df06f2.tar.bz2
brcmsmac: Initialize power in brcms_c_stf_ss_algo_channel_get()
wlc_phy_txpower_get_current() does a logical OR of power->flags, which presumes that power.flags was initiliazed earlier by the caller, unfortunately, this is not the case, so make sure we zero out the struct tx_power before calling into wlc_phy_txpower_get_current(). Reported-by: coverity (CID 146011) Fixes: 5b435de0d7868 ("net: wireless: add brcm80211 drivers") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions