]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update key handling:
authorsam <sam@FreeBSD.org>
Tue, 5 Jul 2005 17:41:42 +0000 (17:41 +0000)
committersam <sam@FreeBSD.org>
Tue, 5 Jul 2005 17:41:42 +0000 (17:41 +0000)
commita4fe2c7b7459721451f9804cdd8ea695f7451033
tree1c6e1cd8eacbe1690273660b91843286fc06801d
parentb19edfa1af17185729cc34181dbdf10f3a06bb53
Update key handling:
o use proper api for setting/deleting keys instead of depending
  on key indices
o check mac address to decide whether a key is unicast or group/global
o check set_tx on key set to decide whether a group/global key should
  also be marked as default
o explicitly set IEEE80211_KEY_GROUP flag for group keys instead of
  depending on kernel auto-add kludge

With the above changes static wep key handling works.

Reviewed by: avatar
Approved by: re (scottl)
usr.sbin/wpa/wpa_supplicant/driver_freebsd.c