diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-11-16 03:10:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-11-16 03:10:56 +0000 |
commit | 67dd9a73dcb62e5b072244dddd7b19d521e20e67 (patch) | |
tree | 3d0dbf6e0906fe0c7ef1446c08254effa561a40b /package/mac80211/patches/016-prism2-ioctl-eapol.patch | |
parent | 224760dee7a5f0913d894b7a23cc8d94b353dd70 (diff) | |
download | upstream-67dd9a73dcb62e5b072244dddd7b19d521e20e67.tar.gz upstream-67dd9a73dcb62e5b072244dddd7b19d521e20e67.tar.bz2 upstream-67dd9a73dcb62e5b072244dddd7b19d521e20e67.zip |
fix up hostapd for mac80211
SVN-Revision: 9554
Diffstat (limited to 'package/mac80211/patches/016-prism2-ioctl-eapol.patch')
-rw-r--r-- | package/mac80211/patches/016-prism2-ioctl-eapol.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/mac80211/patches/016-prism2-ioctl-eapol.patch b/package/mac80211/patches/016-prism2-ioctl-eapol.patch new file mode 100644 index 0000000000..5ce57587ab --- /dev/null +++ b/package/mac80211/patches/016-prism2-ioctl-eapol.patch @@ -0,0 +1,26 @@ +--- + net/mac80211/ieee80211_ioctl.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +--- everything.orig/net/mac80211/ieee80211_ioctl.c 2007-11-07 13:19:33.681513453 +0100 ++++ everything/net/mac80211/ieee80211_ioctl.c 2007-11-07 13:19:35.171517576 +0100 +@@ -984,6 +984,9 @@ static int ieee80211_ioctl_prism2_param( + local = sdata->local; + + switch (param) { ++ case PRISM2_PARAM_EAPOL: ++ sdata->eapol = value; ++ break; + case PRISM2_PARAM_IEEE_802_1X: + sdata->ieee802_1x = value; + break; +@@ -1022,6 +1025,9 @@ static int ieee80211_ioctl_get_prism2_pa + local = sdata->local; + + switch (*param) { ++ case PRISM2_PARAM_EAPOL: ++ *param = sdata->eapol; ++ break; + case PRISM2_PARAM_IEEE_802_1X: + *param = sdata->ieee802_1x; + break; |