[PATCH openEuler-22.03-LTS-SP1 2/2] wifi: virt_wifi: don't use strlen() in const context