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:
parent
b1e6c2b655
commit
921f19fc9d
1 changed files with 1 additions and 9 deletions
|
|
@ -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...")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue