Skip to content

Commit 921f19f

Browse files
projectgusdpgeorge
authored andcommitted
tests/multi_wlan: Remove esp8266 port workaround.
Not needed due to parent commit. Signed-off-by: Angus Gratton <[email protected]>
1 parent b1e6c2b commit 921f19f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/multi_wlan/01_ap_sta.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,7 @@ def instance1():
9696

9797
print("STA connected")
9898

99-
# Print the current channel, if the port support this
100-
try:
101-
print("channel", sta.config("channel"))
102-
except OSError as e:
103-
if "AP" in str(e):
104-
# ESP8266 only supports reading channel on the AP interface, so fake this result
105-
print("channel", CHANNEL)
106-
else:
107-
raise
99+
print("channel", sta.config("channel"))
108100

109101
print("STA waiting for disconnect...")
110102

0 commit comments

Comments
 (0)