diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-12-14 16:41:36 +0100 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-12-19 22:33:39 +0100 |
commit | 62e731695df4d6d9952175f86d3258a5da4373d4 (patch) | |
tree | 8b697e06be37839a0496b5135cb9f4496b8a88eb /drivers/net/wireless/iwlwifi/iwl-testmode.c | |
parent | iwlagn: finer-grained HT disable (diff) | |
download | linux-62e731695df4d6d9952175f86d3258a5da4373d4.tar.xz linux-62e731695df4d6d9952175f86d3258a5da4373d4.zip |
iwlwifi: deliver hw version in both string and u32 format
Add function to get hw version in both strind and u32 format
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-testmode.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-testmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-testmode.c b/drivers/net/wireless/iwlwifi/iwl-testmode.c index db8a0d662dc0..05d301687dae 100644 --- a/drivers/net/wireless/iwlwifi/iwl-testmode.c +++ b/drivers/net/wireless/iwlwifi/iwl-testmode.c @@ -534,7 +534,7 @@ static int iwl_testmode_driver(struct ieee80211_hw *hw, struct nlattr **tb) break; case IWL_TM_CMD_APP2DEV_GET_DEVICE_ID: - bus_get_hw_id(bus(priv), buf, sizeof(buf)); + bus_get_hw_id_string(bus(priv), buf, sizeof(buf)); ptr = buf; strsep(&ptr, ":"); sscanf(strsep(&ptr, ":"), "%x", &num); |