ath10k: fix the printing of 10.x FW version when FW crashed
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Tue, 21 Jan 2014 09:21:21 +0000 (17:21 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 23 Jan 2014 12:57:05 +0000 (14:57 +0200)
commit5ba88b395cb447af756d12411456024d65a07814
treea56a7ab77feff08d93af23481d035acd1340c72d
parentd3d3ff42d9b3a8b90b381ebb398deb5c87ec1692
ath10k: fix the printing of 10.x FW version when FW crashed

10.x FW has no structure member sw_version_1. Thus,
both fw_version_release and fw_version_build are not
available. The provided fw_version_major is also wrong.
Fix this by using the fw_version from struct wiphy.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c