staging: ath6kl: provide hardware version to userspace
authorKalle Valo <kalle.valo@atheros.com>
Tue, 10 May 2011 04:40:34 +0000 (07:40 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 18:19:06 +0000 (11:19 -0700)
Signed-off-by: Kalle Valo <kalle.valo@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ar6000_drv.c

index 513f205..48dd9e3 100644 (file)
@@ -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);