Skip to content

Commit 6a61a35

Browse files
committed
buf
1 parent 70a8db5 commit 6a61a35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/kernel/src/device/usb/device/ax88179.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ pub fn ax88179_reset(dev: &mut UsbDevice) {
457457
// memcpy(tmp, &AX88179_BULKIN_SIZE[0], 5);
458458
//{7, 0xae, 7, 0x18, 0xff}
459459
// {7, 0xcc, 0x4c, 0x18, 8}
460-
let mut buf_tmp:[u8; 5] = [7, 0xcc, 0x4c, 0x18, 0x8];
460+
let mut buf_tmp:[u8; 5] = [7, 0xae, 7, 0x18, 0xff];
461461
ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_BULKIN_QCTRL as u16, 5, 5, buf_tmp.as_mut_ptr());
462462

463463
// dev->rx_urb_size = 1024 * 20;

0 commit comments

Comments
 (0)