diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-04-20 01:30:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-25 14:50:14 -0400 |
commit | 0ff2b5c05d4dd84222a8e163335c5b550e2ca195 (patch) | |
tree | 0838c388f191ff550e099101452ed3f4018a6e74 /drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | |
parent | 3c35c84a70fc7d76cf7d975481fcb30468c68818 (diff) |
ath9k: Fix warnings from -Wunused-but-set-variable
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_gpio.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c index dc0b33d0121..138f8e1350d 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | |||
@@ -74,6 +74,10 @@ static void ath_btcoex_period_work(struct work_struct *work) | |||
74 | aggr = priv->op_flags & OP_BT_PRIORITY_DETECTED; | 74 | aggr = priv->op_flags & OP_BT_PRIORITY_DETECTED; |
75 | 75 | ||
76 | WMI_CMD_BUF(WMI_AGGR_LIMIT_CMD, &aggr); | 76 | WMI_CMD_BUF(WMI_AGGR_LIMIT_CMD, &aggr); |
77 | if (ret) { | ||
78 | ath_err(common, "Unable to set BTCOEX parameters\n"); | ||
79 | return; | ||
80 | } | ||
77 | 81 | ||
78 | ath9k_cmn_btcoex_bt_stomp(common, is_btscan ? ATH_BTCOEX_STOMP_ALL : | 82 | ath9k_cmn_btcoex_bt_stomp(common, is_btscan ? ATH_BTCOEX_STOMP_ALL : |
79 | btcoex->bt_stomp_type); | 83 | btcoex->bt_stomp_type); |