|
@@ -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);
|
|
|
|
|
@@ -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) {
|