diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-05-03 09:05:39 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-05-03 09:05:39 +0000 |
commit | 2d32caa106539cd47a9dd0395e1f259502cd398b (patch) | |
tree | c38bf0ef51265d87e6dabc0dd805dbd5d752a3a9 /package/acx-mac80211/patches/100-vlynq-fixes.patch | |
parent | 8e61b43b863fe6d8c5cb94d4bac406f951bcb15f (diff) |
[package] update acx-mac80211 to 20100422, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21335 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/acx-mac80211/patches/100-vlynq-fixes.patch')
-rw-r--r-- | package/acx-mac80211/patches/100-vlynq-fixes.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/acx-mac80211/patches/100-vlynq-fixes.patch b/package/acx-mac80211/patches/100-vlynq-fixes.patch new file mode 100644 index 000000000..62e0582af --- /dev/null +++ b/package/acx-mac80211/patches/100-vlynq-fixes.patch @@ -0,0 +1,37 @@ +Index: acx-mac80211-20100422/pci.c +=================================================================== +--- acx-mac80211-20100422.orig/pci.c 2010-05-02 22:06:03.000000000 +0200 ++++ acx-mac80211-20100422/pci.c 2010-05-02 22:10:40.963886264 +0200 +@@ -170,7 +170,7 @@ + #endif + + #ifdef CONFIG_VLYNQ +-int vlynq_probe(struct vlynq_device *vdev, struct vlynq_device_id *id); ++static int vlynq_probe(struct vlynq_device *vdev, struct vlynq_device_id *id); + static void vlynq_remove(struct vlynq_device *vdev); + #endif + +@@ -4433,6 +4433,8 @@ + goto fail_alloc_netdev; + } + ieee->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS; ++ ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) ++ | BIT(NL80211_IFTYPE_ADHOC); + ieee->queues = 1; + + adev = ieee2adev(ieee); +Index: acx-mac80211-20100422/acx_func.h +=================================================================== +--- acx-mac80211-20100422.orig/acx_func.h 2010-05-02 03:07:09.000000000 +0200 ++++ acx-mac80211-20100422/acx_func.h 2010-05-02 22:15:55.476748737 +0200 +@@ -562,10 +562,6 @@ + + // Driver, Module + +-#ifdef CONFIG_VLYNQ +-int vlynq_probe(struct vlynq_device *vdev, struct vlynq_device_id *id); +-#endif +- + int __init acxpci_e_init_module(void); + void __exit acxpci_e_cleanup_module(void); + |