[PATCH 2/2] ath6kl: provide hardware version to userspace

Kalle Valo kvalo at adurom.com
Tue May 10 04:40:34 UTC 2011


From: Kalle Valo <kalle.valo at atheros.com>

Signed-off-by: Kalle Valo <kalle.valo at atheros.com>
---
 drivers/staging/ath6kl/os/linux/ar6000_drv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
index 513f205..48dd9e3 100644
--- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c
+++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
@@ -1732,6 +1732,7 @@ ar6000_avail_ev(void *context, void *hif_handle)
 
         ar->arVersion.target_ver = targ_info.target_ver;
         ar->arTargetType = targ_info.target_type;
+	wdev->wiphy->hw_version = targ_info.target_ver;
     }
 
     r = ar6000_configure_target(ar);




More information about the devel mailing list