From: Kalle Valo Date: Tue, 10 May 2011 04:40:34 +0000 (+0300) Subject: staging: ath6kl: provide hardware version to userspace X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e5813f8449f7c6ef71346b21e30b92c84133fd0f;p=mv-sheeva.git staging: ath6kl: provide hardware version to userspace Signed-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c index 513f205b279..48dd9e36359 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);