tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: run(4)
Hi,
2015-09-23 2:15 GMT+09:00 Robert Swindells <rjs%fdy2.co.uk@localhost>:
> I don't think this is correct, I agree that my version is wrong too
> but your change (reversion) does not take account of the possible
> adjustment to txwisize earlier in the same function:
>
> txwisize = sizeof(struct rt2860_txwi);
> if (sc->mac_ver == 0x5592)
> txwisize += sizeof(uint32_t);
>
> Maybe we need:
>
> m_copydata(m, 0, m->m_pkthdr.let, (uint8_t *)txwi + txwisize)
I agree.
Regards,
--
NONAKA Kimihiro
Home |
Main Index |
Thread Index |
Old Index