fix broken patch file from #2997
[openwrt.git] / package / mac80211 / patches / 014-prism2-ioctl-8021x.patch
1 ---
2 net/mac80211/ieee80211_ioctl.c | 6 ++++++
3 1 file changed, 6 insertions(+)
4
5 --- everything.orig/net/mac80211/ieee80211_ioctl.c 2007-11-07 13:19:30.781513182 +0100
6 +++ everything/net/mac80211/ieee80211_ioctl.c 2007-11-07 13:19:32.281514919 +0100
7 @@ -882,6 +882,9 @@ static int ieee80211_ioctl_prism2_param(
8 local = sdata->local;
9
10 switch (param) {
11 + case PRISM2_PARAM_IEEE_802_1X:
12 + sdata->ieee802_1x = value;
13 + break;
14 case PRISM2_PARAM_AP_BRIDGE_PACKETS:
15 local->bridge_packets = value;
16 break;
17 @@ -917,6 +920,9 @@ static int ieee80211_ioctl_get_prism2_pa
18 local = sdata->local;
19
20 switch (*param) {
21 + case PRISM2_PARAM_IEEE_802_1X:
22 + *param = sdata->ieee802_1x;
23 + break;
24 case PRISM2_PARAM_AP_BRIDGE_PACKETS:
25 *param = local->bridge_packets;
26 break;
This page took 0.051884 seconds and 5 git commands to generate.