Skip to content

Commit

Permalink
Merge branch 'for-linville' of git://github.com/kvalo/ath6kl
Browse files Browse the repository at this point in the history
  • Loading branch information
linvjw committed Nov 17, 2011
2 parents b4487c2 + 8cb6d99 commit 9c461ce
Show file tree
Hide file tree
Showing 22 changed files with 4,338 additions and 2,160 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath6kl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

obj-$(CONFIG_ATH6KL) := ath6kl.o
ath6kl-y += debug.o
ath6kl-y += htc_hif.o
ath6kl-y += hif.o
ath6kl-y += htc.o
ath6kl-y += bmi.o
ath6kl-y += cfg80211.o
Expand Down
7 changes: 5 additions & 2 deletions drivers/net/wireless/ath/ath6kl/bmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ int ath6kl_bmi_done(struct ath6kl *ar)
return ret;
}

ath6kl_bmi_cleanup(ar);

return 0;
}

Expand Down Expand Up @@ -672,6 +670,11 @@ int ath6kl_bmi_fast_download(struct ath6kl *ar, u32 addr, u8 *buf, u32 len)
return ret;
}

void ath6kl_bmi_reset(struct ath6kl *ar)
{
ar->bmi.done_sent = false;
}

int ath6kl_bmi_init(struct ath6kl *ar)
{
ar->bmi.cmd_buf = kzalloc(MAX_BMI_CMDBUF_SZ, GFP_ATOMIC);
Expand Down
2 changes: 2 additions & 0 deletions drivers/net/wireless/ath/ath6kl/bmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ struct ath6kl_bmi_target_info {

int ath6kl_bmi_init(struct ath6kl *ar);
void ath6kl_bmi_cleanup(struct ath6kl *ar);
void ath6kl_bmi_reset(struct ath6kl *ar);

int ath6kl_bmi_done(struct ath6kl *ar);
int ath6kl_bmi_get_target_info(struct ath6kl *ar,
struct ath6kl_bmi_target_info *targ_info);
Expand Down
Loading

0 comments on commit 9c461ce

Please sign in to comment.