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:
3412f2f
)
mwifiex: correct sleep delay counter
author
Avinash Patil
<
[email protected]
>
Tue, 26 Feb 2013 00:01:34 +0000
(16:01 -0800)
committer
John W. Linville
<
[email protected]
>
Wed, 27 Feb 2013 19:12:52 +0000
(14:12 -0500)
Maximum delay for waking up card is 50 ms. Because of typo in
counter, this delay goes to 500ms. This patch fixes the bug.
Cc: <
[email protected]
> # 3.2+
Signed-off-by: Avinash Patil <
[email protected]
>
Signed-off-by: Amitkumar Karwar <
[email protected]
>
Signed-off-by: Yogesh Ashok Powar <
[email protected]
>
Signed-off-by: Bing Zhao <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/mwifiex/pcie.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/pcie.c
b/drivers/net/wireless/mwifiex/pcie.c
index 35c79722c361f0e6165071e986af4c5e3f3b8ea3..5c395e2e6a2b874fb0257424663a73cb7abf0c17 100644
(file)
--- a/
drivers/net/wireless/mwifiex/pcie.c
+++ b/
drivers/net/wireless/mwifiex/pcie.c
@@
-302,7
+302,7
@@
static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter)
i++;
usleep_range(10, 20);
/* 50ms max wait */
- if (i == 5000
0
)
+ if (i == 5000)
break;
}