diff options
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/hif.c | 5 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/htc_mbox.c | 10 |
2 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.c b/drivers/net/wireless/ath/ath6kl/hif.c index 029914a22ea..a7a1ec40636 100644 --- a/drivers/net/wireless/ath/ath6kl/hif.c +++ b/drivers/net/wireless/ath/ath6kl/hif.c | |||
@@ -696,11 +696,6 @@ int ath6kl_hif_setup(struct ath6kl_device *dev) | |||
696 | ath6kl_dbg(ATH6KL_DBG_HIF, "hif block size %d mbox addr 0x%x\n", | 696 | ath6kl_dbg(ATH6KL_DBG_HIF, "hif block size %d mbox addr 0x%x\n", |
697 | dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr); | 697 | dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr); |
698 | 698 | ||
699 | /* usb doesn't support enabling interrupts */ | ||
700 | /* FIXME: remove check once USB support is implemented */ | ||
701 | if (dev->ar->hif_type == ATH6KL_HIF_TYPE_USB) | ||
702 | return 0; | ||
703 | |||
704 | status = ath6kl_hif_disable_intrs(dev); | 699 | status = ath6kl_hif_disable_intrs(dev); |
705 | 700 | ||
706 | fail_setup: | 701 | fail_setup: |
diff --git a/drivers/net/wireless/ath/ath6kl/htc_mbox.c b/drivers/net/wireless/ath/ath6kl/htc_mbox.c index ceaf9219265..fbb78dfe078 100644 --- a/drivers/net/wireless/ath/ath6kl/htc_mbox.c +++ b/drivers/net/wireless/ath/ath6kl/htc_mbox.c | |||
@@ -2656,12 +2656,6 @@ static int ath6kl_htc_mbox_wait_target(struct htc_target *target) | |||
2656 | struct htc_service_connect_resp resp; | 2656 | struct htc_service_connect_resp resp; |
2657 | int status; | 2657 | int status; |
2658 | 2658 | ||
2659 | /* FIXME: remove once USB support is implemented */ | ||
2660 | if (target->dev->ar->hif_type == ATH6KL_HIF_TYPE_USB) { | ||
2661 | ath6kl_err("HTC doesn't support USB yet. Patience!\n"); | ||
2662 | return -EOPNOTSUPP; | ||
2663 | } | ||
2664 | |||
2665 | /* we should be getting 1 control message that the target is ready */ | 2659 | /* we should be getting 1 control message that the target is ready */ |
2666 | packet = htc_wait_for_ctrl_msg(target); | 2660 | packet = htc_wait_for_ctrl_msg(target); |
2667 | 2661 | ||
@@ -2891,9 +2885,7 @@ static void ath6kl_htc_mbox_cleanup(struct htc_target *target) | |||
2891 | { | 2885 | { |
2892 | struct htc_packet *packet, *tmp_packet; | 2886 | struct htc_packet *packet, *tmp_packet; |
2893 | 2887 | ||
2894 | /* FIXME: remove check once USB support is implemented */ | 2888 | ath6kl_hif_cleanup_scatter(target->dev->ar); |
2895 | if (target->dev->ar->hif_type != ATH6KL_HIF_TYPE_USB) | ||
2896 | ath6kl_hif_cleanup_scatter(target->dev->ar); | ||
2897 | 2889 | ||
2898 | list_for_each_entry_safe(packet, tmp_packet, | 2890 | list_for_each_entry_safe(packet, tmp_packet, |
2899 | &target->free_ctrl_txbuf, list) { | 2891 | &target->free_ctrl_txbuf, list) { |