projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef98c3c
)
ath9k_htc: Fix watchdog pattern parsing
author
Sujith
<
[email protected]
>
Mon, 29 Mar 2010 10:37:14 +0000
(16:07 +0530)
committer
John W. Linville
<
[email protected]
>
Wed, 31 Mar 2010 18:46:39 +0000
(14:46 -0400)
Skip beyond the watchdog pattern properly.
This fixes occasional failure of the driver to load.
Signed-off-by: Sujith <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/htc_hst.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/htc_hst.c
b/drivers/net/wireless/ath/ath9k/htc_hst.c
index 9a48999d09797718784d51f1b83ee9400ddc4094..30f608bfc5671c3f1f9c34e6cc3b7bc2a69a667d 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/htc_hst.c
+++ b/
drivers/net/wireless/ath/ath9k/htc_hst.c
@@
-377,7
+377,7
@@
void ath9k_htc_rx_msg(struct htc_target *htc_handle,
if (htc_hdr->flags & HTC_FLAGS_RECV_TRAILER) {
if (be32_to_cpu(*(u32 *) skb->data) == 0x00C60000)
/* Move past the Watchdog pattern */
- htc_hdr = (struct htc_frame_hdr *)
skb->data + 4
;
+ htc_hdr = (struct htc_frame_hdr *)
(skb->data + 4)
;
}
/* Get the message ID */