Browse Source

staging: ath6kl: provide hardware version to userspace

Signed-off-by: Kalle Valo <kalle.valo@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Kalle Valo 14 years ago
parent
commit
e5813f8449
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/staging/ath6kl/os/linux/ar6000_drv.c

+ 1 - 0
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);