aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 8232245b7b6f..003d5243542b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -2834,7 +2834,7 @@ static int iwlagn_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
2834 2834
2835 IWL_DEBUG_MAC80211(priv, "enter\n"); 2835 IWL_DEBUG_MAC80211(priv, "enter\n");
2836 2836
2837 if (priv->cfg->mod_params->sw_crypto) { 2837 if (iwlagn_mod_params.sw_crypto) {
2838 IWL_DEBUG_MAC80211(priv, "leave - hwcrypto disabled\n"); 2838 IWL_DEBUG_MAC80211(priv, "leave - hwcrypto disabled\n");
2839 return -EOPNOTSUPP; 2839 return -EOPNOTSUPP;
2840 } 2840 }
@@ -3522,14 +3522,14 @@ static int iwl_set_hw_params(struct iwl_priv *priv)
3522{ 3522{
3523 priv->hw_params.max_rxq_size = RX_QUEUE_SIZE; 3523 priv->hw_params.max_rxq_size = RX_QUEUE_SIZE;
3524 priv->hw_params.max_rxq_log = RX_QUEUE_SIZE_LOG; 3524 priv->hw_params.max_rxq_log = RX_QUEUE_SIZE_LOG;
3525 if (priv->cfg->mod_params->amsdu_size_8K) 3525 if (iwlagn_mod_params.amsdu_size_8K)
3526 priv->hw_params.rx_page_order = get_order(IWL_RX_BUF_SIZE_8K); 3526 priv->hw_params.rx_page_order = get_order(IWL_RX_BUF_SIZE_8K);
3527 else 3527 else
3528 priv->hw_params.rx_page_order = get_order(IWL_RX_BUF_SIZE_4K); 3528 priv->hw_params.rx_page_order = get_order(IWL_RX_BUF_SIZE_4K);
3529 3529
3530 priv->hw_params.max_beacon_itrvl = IWL_MAX_UCODE_BEACON_INTERVAL; 3530 priv->hw_params.max_beacon_itrvl = IWL_MAX_UCODE_BEACON_INTERVAL;
3531 3531
3532 if (priv->cfg->mod_params->disable_11n) 3532 if (iwlagn_mod_params.disable_11n)
3533 priv->cfg->sku &= ~IWL_SKU_N; 3533 priv->cfg->sku &= ~IWL_SKU_N;
3534 3534
3535 /* Device-specific setup */ 3535 /* Device-specific setup */