X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6146d297a8f116285dc9d3111a5d259d8274f0a4..9eedef7a46e7431de4b98a808503571c1a8570eb:/package/acx-mac80211/patches/005-pci_fixes.patch diff --git a/package/acx-mac80211/patches/005-pci_fixes.patch b/package/acx-mac80211/patches/005-pci_fixes.patch index 440ab53c8..de407d81d 100644 --- a/package/acx-mac80211/patches/005-pci_fixes.patch +++ b/package/acx-mac80211/patches/005-pci_fixes.patch @@ -1,6 +1,7 @@ -diff -urN acx-mac80211-20080805/acx_func.h acx-mac80211-20080805.new/acx_func.h ---- acx-mac80211-20080805/acx_func.h 2009-05-07 16:36:37.000000000 +0200 -+++ acx-mac80211-20080805.new/acx_func.h 2009-05-07 16:54:21.000000000 +0200 +Index: acx-mac80211-20080805/acx_func.h +=================================================================== +--- acx-mac80211-20080805.orig/acx_func.h 2009-05-26 20:58:10.000000000 +0200 ++++ acx-mac80211-20080805/acx_func.h 2009-05-26 20:58:11.000000000 +0200 @@ -623,7 +623,7 @@ struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, @@ -10,10 +11,11 @@ diff -urN acx-mac80211-20080805/acx_func.h acx-mac80211-20080805.new/acx_func.h int acx_net_get_tx_stats(struct ieee80211_hw* ieee, struct ieee80211_tx_queue_stats *stats); int acx_net_conf_tx(struct ieee80211_hw* ieee, u16 queue, const struct ieee80211_tx_queue_params *params); -diff -urN acx-mac80211-20080805/common.c acx-mac80211-20080805.new/common.c ---- acx-mac80211-20080805/common.c 2009-05-07 16:36:37.000000000 +0200 -+++ acx-mac80211-20080805.new/common.c 2009-05-07 16:57:45.000000000 +0200 -@@ -4294,9 +4294,10 @@ +Index: acx-mac80211-20080805/common.c +=================================================================== +--- acx-mac80211-20080805.orig/common.c 2009-05-26 20:58:10.000000000 +0200 ++++ acx-mac80211-20080805/common.c 2009-05-26 20:58:11.000000000 +0200 +@@ -4300,9 +4300,10 @@ ** Derived from mac80211 code, p54, bcm43xx_mac80211 ** */ @@ -25,9 +27,10 @@ diff -urN acx-mac80211-20080805/common.c acx-mac80211-20080805.new/common.c unsigned long flags; FN_ENTER; -diff -urN acx-mac80211-20080805/pci.c acx-mac80211-20080805.new/pci.c ---- acx-mac80211-20080805/pci.c 2009-05-07 16:39:39.000000000 +0200 -+++ acx-mac80211-20080805.new/pci.c 2009-05-07 16:59:07.000000000 +0200 +Index: acx-mac80211-20080805/pci.c +=================================================================== +--- acx-mac80211-20080805.orig/pci.c 2009-05-26 20:58:10.000000000 +0200 ++++ acx-mac80211-20080805/pci.c 2009-05-30 20:44:29.000000000 +0200 @@ -3105,7 +3105,7 @@ /* let chip do RTS/CTS handshaking before sending @@ -57,3 +60,11 @@ diff -urN acx-mac80211-20080805/pci.c acx-mac80211-20080805.new/pci.c ieee80211_tx_status(adev->ieee, hostdesc->skb); } /* update pointer for descr to be cleaned next */ +@@ -4303,6 +4303,7 @@ + } + + acx_init_task_scheduler(adev); ++ adev->ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); + result = ieee80211_register_hw(adev->ieee); + if (OK != result) { + printk("acx: ieee80211_register_hw() FAILED: %d\n", result);