]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix DFS radar event parsing
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 22 Oct 2013 12:50:07 +0000 (15:50 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 22 Oct 2013 12:50:07 +0000 (15:50 +0300)
commitcd3b0700df3cdbe6f5db89b7502cb4dd374375ca
tree362367bed0dfd389ddcf499e11abaf141a4b4c08
parent2b72df6374166bdc0fcf868646f87ad70b1f2dcd
nl80211: Fix DFS radar event parsing

Incorrect nla_get variants were used to get event type and frequency.
Kernel passes both as u32. This caused issues on tinynl/big-endian hosts
- CAC finished was treated as radar detection and frequency was 0.

Signed-hostap: Michal Kazior <michal.kazior@tieto.com>
src/drivers/driver_nl80211.c