
ol_ctx is NULL by default if NO_BMI is defined. Hence, add NULL check for ol_ctx in bmi_download_firmware so that this NULL pointer could be handled properly in BMI and NO_BMI cases. Change-Id: I17b6a7e266e41b1f9135bb81bf4329c1ae460862 CRs-Fixed: 1038414