Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341459
b: refs/heads/master
c: cf0dfa1
h: refs/heads/master
i:
  341457: 965a96d
  341455: 737459b
v: v3
  • Loading branch information
Mohammed Shafi Shajakhan authored and Kalle Valo committed Oct 24, 2012
1 parent 72cd8be commit 65c874b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 307749406d7daea452d55df76f734b4fffddf599
refs/heads/master: cf0dfa1330495ae2c3757788224cc043cfb17e77
5 changes: 0 additions & 5 deletions trunk/drivers/net/wireless/ath/ath6kl/hif.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,11 +696,6 @@ int ath6kl_hif_setup(struct ath6kl_device *dev)
ath6kl_dbg(ATH6KL_DBG_HIF, "hif block size %d mbox addr 0x%x\n",
dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr);

/* usb doesn't support enabling interrupts */
/* FIXME: remove check once USB support is implemented */
if (dev->ar->hif_type == ATH6KL_HIF_TYPE_USB)
return 0;

status = ath6kl_hif_disable_intrs(dev);

fail_setup:
Expand Down
10 changes: 1 addition & 9 deletions trunk/drivers/net/wireless/ath/ath6kl/htc_mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -2656,12 +2656,6 @@ static int ath6kl_htc_mbox_wait_target(struct htc_target *target)
struct htc_service_connect_resp resp;
int status;

/* FIXME: remove once USB support is implemented */
if (target->dev->ar->hif_type == ATH6KL_HIF_TYPE_USB) {
ath6kl_err("HTC doesn't support USB yet. Patience!\n");
return -EOPNOTSUPP;
}

/* we should be getting 1 control message that the target is ready */
packet = htc_wait_for_ctrl_msg(target);

Expand Down Expand Up @@ -2891,9 +2885,7 @@ static void ath6kl_htc_mbox_cleanup(struct htc_target *target)
{
struct htc_packet *packet, *tmp_packet;

/* FIXME: remove check once USB support is implemented */
if (target->dev->ar->hif_type != ATH6KL_HIF_TYPE_USB)
ath6kl_hif_cleanup_scatter(target->dev->ar);
ath6kl_hif_cleanup_scatter(target->dev->ar);

list_for_each_entry_safe(packet, tmp_packet,
&target->free_ctrl_txbuf, list) {
Expand Down

0 comments on commit 65c874b

Please sign in to comment.