MT#3977 properly handle firmware upgrade.