WNM: Use cleaner way of generating pointer to a field (CID 68100)
authorJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 20:33:33 +0000 (23:33 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 21:27:15 +0000 (00:27 +0300)
commit2703fb4ad92f9114e76ffc5d3015ec30cc5e1448
treea81ff6da55659ce10b54d8f09af2691ef0dc6d81
parentda995b2e11f10c6e643d0a2ce43f24e81dd78dae
WNM: Use cleaner way of generating pointer to a field (CID 68100)

The Action code field is in a fixed location, so the IEEE80211_HDRLEN
can be used here to clean up bounds checking to avoid false reports from
static analyzer.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wnm_sta.c