]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: hwsim: macsec: correct configuration reference
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Feb 2019 09:43:49 +0000 (10:43 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 6 Feb 2019 21:04:54 +0000 (23:04 +0200)
You need CONFIG_DRIVER_MACSEC_LINUX, not CONFIG_MACSEC_LINUX,
so fix this in the messages.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/test_macsec.py

index e760e76be8e645041ac826f0012da4e9b7d8eb20..48a17e3033b7825468ade372170a055e9977edb8 100644 (file)
@@ -167,7 +167,7 @@ def add_wpas_interfaces(count=2):
             wpa.append(wpas)
     except Exception as e:
         if "Failed to add a dynamic wpa_supplicant interface" in str(e):
-            raise HwsimSkip("macsec supported (wpa_supplicant CONFIG_MACSEC, CONFIG_MACSEC_LINUX; kernel CONFIG_MACSEC)")
+            raise HwsimSkip("macsec supported (wpa_supplicant CONFIG_MACSEC, CONFIG_DRIVER_MACSEC_LINUX; kernel CONFIG_MACSEC)")
         raise
 
     return wpa
@@ -575,7 +575,7 @@ def run_macsec_psk_ns(dev, apdev, params):
     try:
         subprocess.check_call(arg)
     except subprocess.CalledProcessError:
-        raise HwsimSkip("macsec supported (wpa_supplicant CONFIG_MACSEC, CONFIG_MACSEC_LINUX; kernel CONFIG_MACSEC)")
+        raise HwsimSkip("macsec supported (wpa_supplicant CONFIG_MACSEC, CONFIG_DRIVER_MACSEC_LINUX; kernel CONFIG_MACSEC)")
 
     if os.path.exists("wpa_supplicant-macsec2"):
         logger.info("Use alternative wpa_supplicant binary for one of the macsec devices")