o wl3501: fix the bug that prevented us from reliably using MTU ~> WL3501_BLKSZ

parent bd22812e
...@@ -968,7 +968,7 @@ static u16 wl3501_receive(struct wl3501_card *this, u8 *bf, u16 size) ...@@ -968,7 +968,7 @@ static u16 wl3501_receive(struct wl3501_card *this, u8 *bf, u16 size)
wl3501_get_from_wla(this, next_addr + 5, data, wl3501_get_from_wla(this, next_addr + 5, data,
WL3501_BLKSZ - 5); WL3501_BLKSZ - 5);
size -= (WL3501_BLKSZ - 5); size -= (WL3501_BLKSZ - 5);
data -= (WL3501_BLKSZ - 5); data += (WL3501_BLKSZ - 5);
wl3501_get_from_wla(this, next_addr + 2, &next_addr1, wl3501_get_from_wla(this, next_addr + 2, &next_addr1,
sizeof(next_addr1)); sizeof(next_addr1));
next_addr = next_addr1; next_addr = next_addr1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment