wil6210: pmc logger bug fix
authorVladimir Shulman <QCA_shulmanv@QCA.qualcomm.com>
Sun, 4 Oct 2015 07:23:21 +0000 (10:23 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 9 Oct 2015 08:39:09 +0000 (11:39 +0300)
commit6cc6c468381e369e6450257645cf65c67f9f4a1b
tree2afa6f2ab7f6d37e88f957444ca4278bc3e0e349
parentbf2f67343eedc276b8441f91d8daaef4f3ed11d0
wil6210: pmc logger bug fix

When allocating pmc descriptor, the structure is
initially created on stack and later copied to
the physical ring (device) memory. The descriptor
structure must be initialized to zero to avoid
garbage configuration, which may result in pmc
mechanism malfunctioning.

Signed-off-by: Vladimir Shulman <QCA_shulmanv@QCA.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/pmc.c