]> git.ipfire.org Git - thirdparty/hostap.git/commit
Make copies basic_rates list more useful
authorJouni Malinen <j@w1.fi>
Thu, 6 Sep 2012 21:15:53 +0000 (00:15 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 6 Sep 2012 21:15:53 +0000 (00:15 +0300)
commitf0898e95194201ddb49575845a1ec156c66ad3c3
tree7c0170aca5ab08acab4e55ba10654d19cd000417
parentac947e2a8354c0e968c2219887a82e33400957c0
Make copies basic_rates list more useful

Commit e5693c4775bae65faa960f80889f98b0a6cb2e1c added a copy of the
determined basic rate set into struct hostapd_iface, but did not
actually copy the terminating -1 value. This could be problematic if
something were to actually try to use this list since would be no way to
know what is the last entry in the list. Fix this by copying the
terminating value.

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