]> git.baikalelectronics.ru Git - kernel.git/commitdiff
iwlagn: initialize both tx/rx prio boost parameters
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 13 Sep 2010 15:08:18 +0000 (08:08 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 17 Sep 2010 20:18:57 +0000 (13:18 -0700)
For config bt command, initialize both tx_prio_boost and
rx_prio_boost to "0".

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c

index 616115ab009dad966547ecf3753888a1af5a2cac..299fd9d596041ed2bc0758393148b1ddf7a2efea 100644 (file)
@@ -1781,6 +1781,8 @@ void iwlagn_send_advance_bt_config(struct iwl_priv *priv)
        bt_cmd.kill_ack_mask = priv->kill_ack_mask;
        bt_cmd.kill_cts_mask = priv->kill_cts_mask;
        bt_cmd.valid = priv->bt_valid;
+       bt_cmd.tx_prio_boost = 0;
+       bt_cmd.rx_prio_boost = 0;
 
        /*
         * Configure BT coex mode to "no coexistence" when the