mirror of https://gitee.com/openkylin/linux.git
staging: ath6kl: Fixing driver initialization for manufacturing mode
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>
This commit is contained in:
parent
83195cc8a8
commit
caf3fb4194
|
@ -1806,7 +1806,9 @@ ar6000_avail_ev(void *context, void *hif_handle)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef HTC_RAW_INTERFACE
|
#ifdef HTC_RAW_INTERFACE
|
||||||
break; /* Don't call ar6000_init for ART */
|
if (!eppingtest && bypasswmi) {
|
||||||
|
break; /* Don't call ar6000_init for ART */
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
rtnl_lock();
|
rtnl_lock();
|
||||||
status = (ar6000_init(dev)==0) ? 0 : A_ERROR;
|
status = (ar6000_init(dev)==0) ? 0 : A_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue