mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
correct typo that was a noop on 32-bit machines but a bug on 64-bit machines
Submitted by: phk
This commit is contained in:
parent
e72ae6eafd
commit
518de5f837
1 changed files with 1 additions and 1 deletions
|
|
@ -1452,7 +1452,7 @@ ath_hal_gethangstate(struct ath_hal *ah, uint32_t mask, uint32_t *hangs)
|
|||
uint32_t rsize;
|
||||
void *sp;
|
||||
|
||||
if (!ath_hal_getdiagstate(ah, 32, &mask, sizeof(&mask), &sp, &rsize))
|
||||
if (!ath_hal_getdiagstate(ah, 32, &mask, sizeof(mask), &sp, &rsize))
|
||||
return 0;
|
||||
KASSERT(rsize == sizeof(uint32_t), ("resultsize %u", rsize));
|
||||
*hangs = *(uint32_t *)sp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue