fix sstrip compile on mac os x
[openwrt.git] / package / mac80211 / patches / 013-prism2-ioctl-bridge-packets.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:27.981515569 +0100
6 +++ everything/net/mac80211/ieee80211_ioctl.c 2007-11-07 13:19:30.781513182 +0100
7 @@ -882,6 +882,9 @@ static int ieee80211_ioctl_prism2_param(
8 local = sdata->local;
9
10 switch (param) {
11 + case PRISM2_PARAM_AP_BRIDGE_PACKETS:
12 + local->bridge_packets = value;
13 + break;
14 case PRISM2_PARAM_MGMT_IF:
15 if (value == 1) {
16 if (!local->apdev)
17 @@ -914,6 +917,9 @@ static int ieee80211_ioctl_get_prism2_pa
18 local = sdata->local;
19
20 switch (*param) {
21 + case PRISM2_PARAM_AP_BRIDGE_PACKETS:
22 + *param = local->bridge_packets;
23 + break;
24 case PRISM2_PARAM_MGMT_IF:
25 if (local->apdev)
26 *param = local->apdev->ifindex;
This page took 0.043947 seconds and 5 git commands to generate.