aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-03-01 23:20:09 +0100
committerLubomir Rintel <lkundrak@v3.sk>2020-03-23 19:02:10 +0100
commitbf575678045589173476c451514e8441e7043308 (patch)
tree9827cb0a1612e3e51d3c6634a0e8f69fcce1d07a
parent52fe9bf3ab55aa49d6a2c8a90b06701dcd41136b (diff)
downloadopenfirmware-bf575678045589173476c451514e8441e7043308.tar.gz
usb2/net: remove wrap-msg
It does nothing, is not used, and it's not clear how would it have worked for devices that wrap ethernet data in their custom headers.
-rw-r--r--dev/usb2/device/net/common.fth1
-rw-r--r--dev/usb2/device/wlan/wlan.fth1
2 files changed, 0 insertions, 2 deletions
diff --git a/dev/usb2/device/net/common.fth b/dev/usb2/device/net/common.fth
index 28ed4426..3bf8455b 100644
--- a/dev/usb2/device/net/common.fth
+++ b/dev/usb2/device/net/common.fth
@@ -19,7 +19,6 @@ false value use-multicast?
defer init-nic ( -- ) ' noop to init-nic
defer reset-nic ( -- ) ' noop to reset-nic
-defer wrap-msg ( adr len -- adr' len' ) ' noop to wrap-msg
defer unwrap-msg ( adr len -- adr' len' ) ' noop to unwrap-msg
defer link-up? ( -- up? ) ' true to link-up?
defer start-phy ( -- ) ' noop to start-phy
diff --git a/dev/usb2/device/wlan/wlan.fth b/dev/usb2/device/wlan/wlan.fth
index 6de7f263..bdc93d64 100644
--- a/dev/usb2/device/wlan/wlan.fth
+++ b/dev/usb2/device/wlan/wlan.fth
@@ -117,7 +117,6 @@ false instance value force-open?
\ Used by the /supplicant support package to perform key handshaking.
: write-force ( adr len -- actual )
tuck ( actual adr len )
- wrap-msg ( actual adr' len' )
data-out ( actual )
;