Our ABI for hostapd currently uses an old structure that only has one byte for the...
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 29 Oct 2007 22:33:03 +0000 (22:33 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 29 Oct 2007 22:33:03 +0000 (22:33 +0000)
commitd2fd0a8446d01dc0c4f8e8d3a090505fe894e7fe
treecb6fb8a56d3ed811b49f179f8840b6d55b2f767e
parentb7186f5480baf766ac61179fb07b50d32c37fa12
Our ABI for hostapd currently uses an old structure that only has one byte for the key index.  This means that the 'magic value' of -1 (255) for NONE is passed rather than the larger type we actually use internally.  To make comparisons work properly, I'm putting the magic value back at (uint8_t)-1 again so that a key index of 'none' with a MAC address that is passed into madwifi is interpreted correctly and the keys for that station are properly removed, rather than errors returned.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2798 0192ed92-7a03-0410-a25b-9323aeb14dbd
net80211/ieee80211_crypto.h