From owner-cvs-all@FreeBSD.ORG Tue Jul 5 17:41:42 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D478A16A41C; Tue, 5 Jul 2005 17:41:42 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B459743D49; Tue, 5 Jul 2005 17:41:42 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j65HfgA3019303; Tue, 5 Jul 2005 17:41:42 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j65HfgCc019302; Tue, 5 Jul 2005 17:41:42 GMT (envelope-from sam) Message-Id: <200507051741.j65HfgCc019302@repoman.freebsd.org> From: Sam Leffler Date: Tue, 5 Jul 2005 17:41:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/wpa/wpa_supplicant driver_freebsd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 17:41:43 -0000 sam 2005-07-05 17:41:42 UTC FreeBSD src repository Modified files: usr.sbin/wpa/wpa_supplicant driver_freebsd.c Log: 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) Revision Changes Path 1.4 +27 -12 src/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c