]> git.ipfire.org Git - thirdparty/hostap.git/commit
Make hostapd_eid_wmm_valid() return more logical return values
authorJouni Malinen <j@w1.fi>
Sat, 17 Dec 2011 10:41:00 +0000 (12:41 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 17 Dec 2011 10:41:00 +0000 (12:41 +0200)
commitc84b868a712d8ff2a9ce229480eca2192d334417
tree73989f5ba2535c1654ca16ff984d5bb258dd5c28
parent5d06163714df56d3f4ffc9e9a8db025c4e07bbb4
Make hostapd_eid_wmm_valid() return more logical return values

Return 1/0 instead 0/-1 to indicate valid/invalid element so that
the if statement makes more sense with !wmm_valid().

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