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:
Vipin Mehta 2011-02-18 13:13:06 -08:00 committed by Greg Kroah-Hartman
parent 83195cc8a8
commit caf3fb4194

View File

@ -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;