From 921f19fc9d697488f4f86bf8db73d43b04b781a6 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 4 Feb 2025 15:14:51 +1100 Subject: [PATCH] tests/multi_wlan: Remove esp8266 port workaround. Not needed due to parent commit. Signed-off-by: Angus Gratton --- tests/multi_wlan/01_ap_sta.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/multi_wlan/01_ap_sta.py b/tests/multi_wlan/01_ap_sta.py index 1a8e80cd3..368addf13 100644 --- a/tests/multi_wlan/01_ap_sta.py +++ b/tests/multi_wlan/01_ap_sta.py @@ -96,15 +96,7 @@ def instance1(): print("STA connected") - # Print the current channel, if the port support this - try: - print("channel", sta.config("channel")) - except OSError as e: - if "AP" in str(e): - # ESP8266 only supports reading channel on the AP interface, so fake this result - print("channel", CHANNEL) - else: - raise + print("channel", sta.config("channel")) print("STA waiting for disconnect...")