diff mbox series

tests: hwsim: macsec: correct configuration reference

Message ID 20190206094349.9746-1-johannes@sipsolutions.net
State Accepted
Headers show
Series tests: hwsim: macsec: correct configuration reference | expand

Commit Message

Johannes Berg Feb. 6, 2019, 9:43 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jouni Malinen Feb. 6, 2019, 9:41 p.m. UTC | #1
On Wed, Feb 06, 2019 at 10:43:49AM +0100, Johannes Berg wrote:
> You need CONFIG_DRIVER_MACSEC_LINUX, not CONFIG_MACSEC_LINUX,
> so fix this in the messages.

Thanks, applied.
diff mbox series

Patch

diff --git a/tests/hwsim/test_macsec.py b/tests/hwsim/test_macsec.py
index e760e76be8e6..48a17e3033b7 100644
--- a/tests/hwsim/test_macsec.py
+++ b/tests/hwsim/test_macsec.py
@@ -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")