Commit 6e909f48 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: virt_wifi: don't use strlen() in const context



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: b5d14b0c ("wifi: virt_wifi: avoid reporting connection success with wrong SSID")
Reported-by: default avatarkernel 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: default avatarJohannes Berg <johannes.berg@intel.com>
parent b3603133
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment