diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-04-20 07:30:34 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-25 20:50:14 +0200 |
commit | 0ff2b5c05d4dd84222a8e163335c5b550e2ca195 (patch) | |
tree | 0838c388f191ff550e099101452ed3f4018a6e74 /drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | |
parent | ssb: cc: use correct min_msk for 0x4312 (diff) | |
download | linux-0ff2b5c05d4dd84222a8e163335c5b550e2ca195.tar.xz linux-0ff2b5c05d4dd84222a8e163335c5b550e2ca195.zip |
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 dc0b33d01210..138f8e1350d4 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) aggr = priv->op_flags & OP_BT_PRIORITY_DETECTED; WMI_CMD_BUF(WMI_AGGR_LIMIT_CMD, &aggr); + if (ret) { + ath_err(common, "Unable to set BTCOEX parameters\n"); + return; + } ath9k_cmn_btcoex_bt_stomp(common, is_btscan ? ATH_BTCOEX_STOMP_ALL : btcoex->bt_stomp_type); |