iwlagn: reduce redundant parameter definitions
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / iwl-agn-ucode.c
index 8bfb0495a76b2e17b8a1a4a23aeac05230144f16..e1dd76267dca2fdcc08d4c40ace5118d2e0310e6 100644 (file)
@@ -307,7 +307,8 @@ void iwlagn_init_alive_start(struct iwl_priv *priv)
                goto restart;
        }
 
-       if (priv->cfg->advanced_bt_coexist) {
+       if (priv->cfg->bt_params &&
+           priv->cfg->bt_params->advanced_bt_coexist) {
                /*
                 * Tell uCode we are ready to perform calibration
                 * need to perform this before any calibration
@@ -330,7 +331,7 @@ static int iwlagn_send_wimax_coex(struct iwl_priv *priv)
 {
        struct iwl_wimax_coex_cmd coex_cmd;
 
-       if (priv->cfg->support_wimax_coexist) {
+       if (priv->cfg->base_params->support_wimax_coexist) {
                /* UnMask wake up src at associated sleep */
                coex_cmd.flags = COEX_FLAGS_ASSOC_WA_UNMASK_MSK;
 
This page took 0.030824 seconds and 5 git commands to generate.