[package] update acx-mac80211 to 20100422, patch from Bernhard Loos
[openwrt/svn-archive/archive.git] / package / acx-mac80211 / patches / 100-vlynq-fixes.patch
1 Index: acx-mac80211-20100422/pci.c
2 ===================================================================
3 --- acx-mac80211-20100422.orig/pci.c 2010-05-02 22:06:03.000000000 +0200
4 +++ acx-mac80211-20100422/pci.c 2010-05-02 22:10:40.963886264 +0200
5 @@ -170,7 +170,7 @@
6 #endif
7
8 #ifdef CONFIG_VLYNQ
9 -int vlynq_probe(struct vlynq_device *vdev, struct vlynq_device_id *id);
10 +static int vlynq_probe(struct vlynq_device *vdev, struct vlynq_device_id *id);
11 static void vlynq_remove(struct vlynq_device *vdev);
12 #endif
13
14 @@ -4433,6 +4433,8 @@
15 goto fail_alloc_netdev;
16 }
17 ieee->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS;
18 + ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
19 + | BIT(NL80211_IFTYPE_ADHOC);
20 ieee->queues = 1;
21
22 adev = ieee2adev(ieee);
23 Index: acx-mac80211-20100422/acx_func.h
24 ===================================================================
25 --- acx-mac80211-20100422.orig/acx_func.h 2010-05-02 03:07:09.000000000 +0200
26 +++ acx-mac80211-20100422/acx_func.h 2010-05-02 22:15:55.476748737 +0200
27 @@ -562,10 +562,6 @@
28
29 // Driver, Module
30
31 -#ifdef CONFIG_VLYNQ
32 -int vlynq_probe(struct vlynq_device *vdev, struct vlynq_device_id *id);
33 -#endif
34 -
35 int __init acxpci_e_init_module(void);
36 void __exit acxpci_e_cleanup_module(void);
37