OpenCloudOS-Kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac
Florian Fainelli f823a2aa8f 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: 5b435de0d7 ("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>
2016-07-19 21:14:20 +03:00
..
phy brcm80211: simplify assignment 2016-06-14 17:23:24 +03:00
Makefile
aiutils.c
aiutils.h
ampdu.c
ampdu.h
antsel.c
antsel.h
brcms_trace_brcmsmac.h
brcms_trace_brcmsmac_msg.h
brcms_trace_brcmsmac_tx.h
brcms_trace_events.c
brcms_trace_events.h
channel.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
channel.h
d11.h
debug.c
debug.h
dma.c brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill 2016-07-19 21:14:20 +03:00
dma.h
led.c
led.h
mac80211_if.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
mac80211_if.h
main.c wireless: brcmsmac: fix old-style declaration 2016-06-29 18:56:21 +03:00
main.h
phy_shim.c
phy_shim.h
pmu.c
pmu.h
pub.h
rate.c
rate.h
scb.h
stf.c brcmsmac: Initialize power in brcms_c_stf_ss_algo_channel_get() 2016-07-19 21:14:20 +03:00
stf.h
types.h
ucode_loader.c
ucode_loader.h