Make sta NULL-check easier for static analyzers
authorJouni Malinen <j@w1.fi>
Sat, 26 Apr 2014 08:51:19 +0000 (11:51 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 29 Apr 2014 09:52:10 +0000 (12:52 +0300)
commitd6c6b1fb9d0408d1c196c638a11245db9ab5f4eb
tree3843c430ee35dde1b708c448e20cab792303966e
parent0bceb8d6f426d8cf413c5057f002f010af802e3f
Make sta NULL-check easier for static analyzers

sta == NULL check is already done above based on category !=
WLAN_ACTION_PUBLIC, but that seems to be too complex for some static
analyzers, so avoid invalid reports by explicitly checking for this
again in the WLAN_ACTION_FT case.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11.c