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:
83195cc
)
staging: ath6kl: Fixing driver initialization for manufacturing mode
author
Vipin Mehta
<vmehta@atheros.com>
Fri, 18 Feb 2011 21:13:06 +0000
(13:13 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 18 Feb 2011 21:28:51 +0000
(13:28 -0800)
Fixing the driver initialization for manufacturing mode that involves
downloading a firmware binary meant for RF tests on the factory floor.
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ar6000_drv.c
patch
|
blob
|
history
diff --git
a/drivers/staging/ath6kl/os/linux/ar6000_drv.c
b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
index df9badbc052c10576e6e1c0b2c4aa8f99f144653..d907e93f9457a0e15d954cc925030849d165e34b 100644
(file)
--- a/
drivers/staging/ath6kl/os/linux/ar6000_drv.c
+++ b/
drivers/staging/ath6kl/os/linux/ar6000_drv.c
@@
-1806,7
+1806,9
@@
ar6000_avail_ev(void *context, void *hif_handle)
break;
}
#ifdef HTC_RAW_INTERFACE
- break; /* Don't call ar6000_init for ART */
+ if (!eppingtest && bypasswmi) {
+ break; /* Don't call ar6000_init for ART */
+ }
#endif
rtnl_lock();
status = (ar6000_init(dev)==0) ? 0 : A_ERROR;