]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: initialize fw_features var
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 5 Aug 2015 04:55:37 +0000 (06:55 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Aug 2015 11:22:07 +0000 (14:22 +0300)
commit074775737bd8da13f8e388714a6fb1b6a15ecb14
tree9215b3cfc70fa753beda0f5e86959e035cc05fa4
parent39d8ae3a5541a1fcc5305814ecfdb342b72cbe4f
ath10k: initialize fw_features var

If firmware did not have any feature flags set the
var would be left with values found on the stack
(i.e. garbage) yielding print string like this:

  (...) features \xffffffa6m:^R\xfffffffbԂ\xffffffc4^E

Fixes: 9a10a9127702 ("ath10k: dump fw features during probing")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c