linux-imx/drivers/net/wireless/virtual
Johannes Berg 9a95e70726 wifi: virt_wifi: don't use strlen() in const context
[ Upstream commit 6e909f4891 ]

Looks like not all compilers allow strlen(constant) as
a constant, so don't do that. Instead, revert back to
defining the length as the first submission had it.

Fixes: b5d14b0c67 ("wifi: virt_wifi: avoid reporting connection success with wrong SSID")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407090934.NnR1TUbW-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202407090944.mpwLHGt9-lkp@intel.com/
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 08:53:42 +02:00
..
Kconfig
mac80211_hwsim.c wifi: mac80211_hwsim: init peer measurement result 2024-05-02 16:32:34 +02:00
mac80211_hwsim.h
Makefile
virt_wifi.c wifi: virt_wifi: don't use strlen() in const context 2024-08-03 08:53:42 +02:00