Make time_adv use easier for static analyzers
authorJouni Malinen <j@w1.fi>
Sun, 13 Nov 2011 20:45:16 +0000 (22:45 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 13 Nov 2011 20:45:16 +0000 (22:45 +0200)
commit4c8a333b54764d6b6f38770c4668cf2bfb84da92
tree1e609d2206cdf1358141095e5d139457ee370527
parenta5c696adb44c9f6048f46c75712e473ebc5cbd8a
Make time_adv use easier for static analyzers

hapd->time_adv cannot really be NULL if hostapd_update_time_adv()
returns success, but this construction seems to be too difficult
for some static analyzers. While this change is not really needed
in practice, it makes it easier to go through warnings from such
analyzers.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11_shared.c