summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/htc_hif.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-07-18 12:53:28 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 20:45:21 +0400
commit5be8824f28d70579f725297b0ca6fd26945686a6 (patch)
treee88a26d115f71ea3b3e419ad62ba22ce1d4f089d /drivers/net/wireless/ath/ath6kl/htc_hif.c
parent3b2f5e5145339e188f74f57bc6eb5a1f672ecf33 (diff)
downloadlinux-5be8824f28d70579f725297b0ca6fd26945686a6.tar.xz
ath6kl: Move block_sz and block_mask from ath6kl_device to htc_target
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc_hif.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc_hif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc_hif.c b/drivers/net/wireless/ath/ath6kl/htc_hif.c
index 386bc2874bb5..9904beee55c1 100644
--- a/drivers/net/wireless/ath/ath6kl/htc_hif.c
+++ b/drivers/net/wireless/ath/ath6kl/htc_hif.c
@@ -615,19 +615,19 @@ int ath6kldev_setup(struct ath6kl_device *dev)
* for SDIO the block size on mailbox 0 is artificially set to 1.
* So we use the block size that is set for the other 3 mailboxes.
*/
- dev->block_sz = dev->ar->mbox_info.block_size;
+ dev->htc_cnxt->block_sz = dev->ar->mbox_info.block_size;
/* must be a power of 2 */
- if ((dev->block_sz & (dev->block_sz - 1)) != 0) {
+ if ((dev->htc_cnxt->block_sz & (dev->htc_cnxt->block_sz - 1)) != 0) {
WARN_ON(1);
goto fail_setup;
}
/* assemble mask, used for padding to a block */
- dev->block_mask = dev->block_sz - 1;
+ dev->htc_cnxt->block_mask = dev->htc_cnxt->block_sz - 1;
ath6kl_dbg(ATH6KL_DBG_TRC, "block size: %d, mbox addr:0x%X\n",
- dev->block_sz, dev->ar->mbox_info.htc_addr);
+ dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr);
ath6kl_dbg(ATH6KL_DBG_TRC,
"hif interrupt processing is sync only\n");