diff options
author | Angus Gratton <angus@redyak.com.au> | 2025-02-04 15:14:51 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-02-07 13:03:26 +1100 |
commit | 921f19fc9d697488f4f86bf8db73d43b04b781a6 (patch) | |
tree | a5fd7f31826b3b4888148fc0fd1b2c144e9483df /tests/multi_wlan | |
parent | b1e6c2b655209022fb1dd1e7b3271af010fcccb5 (diff) | |
download | micropython-921f19fc9d697488f4f86bf8db73d43b04b781a6.tar.gz micropython-921f19fc9d697488f4f86bf8db73d43b04b781a6.zip |
tests/multi_wlan: Remove esp8266 port workaround.
Not needed due to parent commit.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'tests/multi_wlan')
-rw-r--r-- | tests/multi_wlan/01_ap_sta.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/multi_wlan/01_ap_sta.py b/tests/multi_wlan/01_ap_sta.py index 1a8e80cd33..368addf139 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...") |