From 90d3ee383fe383b6368f1bc55670970c180d457b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 27 Feb 2021 10:37:07 +0200 Subject: [PATCH] tests: RADIUS client device specified Signed-off-by: Jouni Malinen --- tests/hwsim/test_radius.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/hwsim/test_radius.py b/tests/hwsim/test_radius.py index 16a29ec85..f82e6e074 100644 --- a/tests/hwsim/test_radius.py +++ b/tests/hwsim/test_radius.py @@ -1372,6 +1372,13 @@ def test_radius_auth_force_client_addr(dev, apdev): hapd = hostapd.add_ap(apdev[0], params) connect(dev[0], "radius-auth") +def test_radius_auth_force_client_dev(dev, apdev): + """RADIUS client device specified""" + params = hostapd.wpa2_eap_params(ssid="radius-auth") + params['radius_client_dev'] = "lo" + hapd = hostapd.add_ap(apdev[0], params) + connect(dev[0], "radius-auth") + @remote_compatible def test_radius_auth_force_invalid_client_addr(dev, apdev): """RADIUS client address specified and invalid address"""