rtlwifi: fix for race condition when firmware is cached