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)
commit84e3df60f0daba5b1e7874101502d0b030afb867
tree9215b3cfc70fa753beda0f5e86959e035cc05fa4
parenta48e2cc8992a13a58cff04e54e05f959d418554b
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: b27bc5a40f91 ("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