summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-testmode.c
diff options
context:
space:
mode:
authorDon Fry <donald.h.fry@intel.com>2011-11-29 05:05:01 +0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-12-02 20:23:13 +0400
commit3d6acefc0a24bf90746c1f259e9d65d1ed7ea5e2 (patch)
treefacb569196c771c152c33488f760836dbc4ee51c /drivers/net/wireless/iwlwifi/iwl-testmode.c
parent66128b144b5107132966fabfc3843f8bdac68d2b (diff)
downloadlinux-3d6acefc0a24bf90746c1f259e9d65d1ed7ea5e2.tar.xz
iwlwifi: move ucode_type from iwl_priv to iwl_shared
Move the ucode_type variable from the iwl_priv to the iwl_shared structure with associated code changes. Signed-off-by: Don Fry <donald.h.fry@intel.com> 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.c2
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 3c9762628760..ed2a3d749b1b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-testmode.c
+++ b/drivers/net/wireless/iwlwifi/iwl-testmode.c
@@ -710,7 +710,7 @@ static int iwl_testmode_sram(struct ieee80211_hw *hw, struct nlattr **tb)
return -ENOMSG;
}
size = nla_get_u32(tb[IWL_TM_ATTR_SRAM_SIZE]);
- switch (priv->ucode_type) {
+ switch (priv->shrd->ucode_type) {
case IWL_UCODE_REGULAR:
maxsize = trans(priv)->ucode_rt.data.len;
break;