Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH (2.6.24, #everything)] mac80211: allow setting drop_unencrypted with wext
@ 2007-11-28 10:04 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-11-28 10:04 UTC (permalink / raw)
  To: John Linville; +Cc: Michael Wu, Jouni Malinen, linux-wireless

This patch allows wpa_supplicant to set the drop_unencrypted setting in
mac80211.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
This patch applies to both 2.6.24 and #everything

 net/mac80211/ieee80211_ioctl.c |    3 +++
 1 file changed, 3 insertions(+)

--- linux-2.6.orig/net/mac80211/ieee80211_ioctl.c	2007-11-13 19:00:03.519120007 +0100
+++ linux-2.6/net/mac80211/ieee80211_ioctl.c	2007-11-28 11:01:25.218924587 +0100
@@ -928,6 +928,9 @@ static int ieee80211_ioctl_siwauth(struc
 	case IW_AUTH_RX_UNENCRYPTED_EAPOL:
 	case IW_AUTH_KEY_MGMT:
 		break;
+	case IW_AUTH_DROP_UNENCRYPTED:
+		sdata->drop_unencrypted = !!data->value;
+		break;
 	case IW_AUTH_PRIVACY_INVOKED:
 		if (sdata->type != IEEE80211_IF_TYPE_STA)
 			ret = -EINVAL;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-28 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-28 10:04 [PATCH (2.6.24, #everything)] mac80211: allow setting drop_unencrypted with wext Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox