ath6kl: fix firmware version assignment
authorBen Greear <greearb@candelatech.com>
Wed, 21 Oct 2015 21:53:21 +0000 (14:53 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Oct 2015 11:06:56 +0000 (13:06 +0200)
commit53cc3291bcfbefc0b3f1e3b7b30ed028b5f1a75d
tree467c77dfc8717a66709e5abbeb71f198c757b999
parent7fd98524560cac3a629aa1130d45260d4469d254
ath6kl: fix firmware version assignment

Improper use of strlcpy caused garbage to be appended to the
firmware version string.  Fix this by paying attention to the
ie_lenth.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/init.c