mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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:
|
||
|---|---|---|
| .. | ||
| phy | ||
| aiutils.c | ||
| aiutils.h | ||
| ampdu.c | ||
| ampdu.h | ||
| antsel.c | ||
| antsel.h | ||
| brcms_trace_brcmsmac_msg.h | ||
| brcms_trace_brcmsmac_tx.h | ||
| brcms_trace_brcmsmac.h | ||
| brcms_trace_events.c | ||
| brcms_trace_events.h | ||
| channel.c | ||
| channel.h | ||
| d11.h | ||
| debug.c | ||
| debug.h | ||
| dma.c | ||
| dma.h | ||
| led.c | ||
| led.h | ||
| mac80211_if.c | ||
| mac80211_if.h | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| phy_shim.c | ||
| phy_shim.h | ||
| pmu.c | ||
| pmu.h | ||
| pub.h | ||
| rate.c | ||
| rate.h | ||
| scb.h | ||
| stf.c | ||
| stf.h | ||
| types.h | ||
| ucode_loader.c | ||
| ucode_loader.h | ||