aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/vusb.txt
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-09-06 18:27:51 +0200
committerAndrey Konovalov <andreyknvl@gmail.com>2019-09-06 20:11:54 +0200
commita381ceb2972aee5edc0e827465cecf985162343b (patch)
tree1162430f96847dcc6d40698aa56a5092d666bfcf /sys/linux/vusb.txt
parent35d270e58caaabea84800ff82654ea2400c654dd (diff)
sys/linux/usb: fix CDC mac address encoding
Diffstat (limited to 'sys/linux/vusb.txt')
-rw-r--r--sys/linux/vusb.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/linux/vusb.txt b/sys/linux/vusb.txt
index 26cb65125..5a306fc80 100644
--- a/sys/linux/vusb.txt
+++ b/sys/linux/vusb.txt
@@ -932,8 +932,10 @@ vusb_descriptors_cdc_ecm {
} [packed]
usb_cdc_ecm_mac {
-# This is a UTF16 encoded string '424242424242'.
- data stringnoz["340032003400320034003200340032003400320034003200"]
+# This is a UTF16 encoded string "424242424242".
+ data0 const[0x3400320034003200, int64be]
+ data1 const[0x3400320034003200, int64be]
+ data2 const[0x3400320034003200, int64be]
} [packed]
vusb_responses_cdc_ecm {