netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bcm43xx: enable shared key authentication
@ 2006-06-16 19:50 Daniel Drake
  2006-06-16 20:18 ` Michael Buesch
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Daniel Drake @ 2006-06-16 19:50 UTC (permalink / raw)
  To: linville; +Cc: netdev, mb

I recently patched softmac to enable shared key authentication. This small patch
will enable crazy or unfortunate bcm43xx users to use this new capability.

Signed-off-by: Daniel Drake <dsd@gentoo.org>

Index: linux/drivers/net/wireless/bcm43xx/bcm43xx_main.c
===================================================================
--- linux.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ linux/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3599,6 +3599,10 @@ static void bcm43xx_ieee80211_set_securi
 		secinfo->encrypt = sec->encrypt;
 		dprintk(KERN_INFO PFX "   .encrypt = %d\n", sec->encrypt);
 	}
+	if (sec->flags & SEC_AUTH_MODE) {
+		secinfo->auth_mode = sec->auth_mode;
+		dprintk(KERN_INFO PFX "   .auth_mode = %d\n", sec->auth_mode);
+	}
 	if (bcm->initialized && !bcm->ieee->host_encrypt) {
 		if (secinfo->enabled) {
 			/* upload WEP keys to hardware */

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-26 19:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-16 19:50 [PATCH] bcm43xx: enable shared key authentication Daniel Drake
2006-06-16 20:18 ` Michael Buesch
2006-06-18  3:01 ` Dan Williams
2006-06-18  9:31   ` Michael Buesch
2006-06-26 18:38 ` John W. Linville
2006-06-26 19:06   ` Michael Buesch
2006-06-26 19:10     ` Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).