add the lock for wifi driver.