For ieee80211_node_delucastkey() rather than checking the keyix to be
IEEE80211_KEYIX_NONE use the IEEE80211_KEY_UNDEFINED() macro (which
chekes the wk_cipher to be 'none').
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential D48980
net80211: use IEEE80211_KEY_UNDEFINED() insetad of checking they keyix bz on Thu, Feb 13, 1:45 AM. Authored by Tags None Referenced Files
Details For ieee80211_node_delucastkey() rather than checking the keyix to be Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions The follow-up logic seems to be an ath(4)-only case so it might be worth double-checking that there is no undocumented condition that made the key check here being done as it was. If you accept this review please state that it seems fine in comment as well. Comment Actions it doesn't surprise me if ti's ath(4) only as well, that and wi is where this all started. We should go document some actual correct usage of this so we know what / when to expect stuff. |