tests/multi_wlan: Remove esp8266 port workaround.

Not needed due to parent commit.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
Angus Gratton 2025-02-04 15:14:51 +11:00 committed by Damien George
parent b1e6c2b655
commit 921f19fc9d

View file

@ -96,15 +96,7 @@ def instance1():
print("STA connected") print("STA connected")
# Print the current channel, if the port support this print("channel", sta.config("channel"))
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("STA waiting for disconnect...") print("STA waiting for disconnect...")