diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-11 00:36:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-11 00:36:23 +0000 |
commit | 3a81e25e0261a153d2ef5acd64dab69a87f7e139 (patch) | |
tree | ea467b2884864deb8a58c23b6413642ca8c338c0 /package/mac80211/patches/011-move_ar9170_usb_compat_code.patch | |
parent | 089ce4376df7a7f2611c785704efeccd9065a506 (diff) | |
download | master-187ad058-3a81e25e0261a153d2ef5acd64dab69a87f7e139.tar.gz master-187ad058-3a81e25e0261a153d2ef5acd64dab69a87f7e139.tar.bz2 master-187ad058-3a81e25e0261a153d2ef5acd64dab69a87f7e139.zip |
mac80211: upgrade to latest compat-wireless, fix ad-hoc interface setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18023 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/011-move_ar9170_usb_compat_code.patch')
-rw-r--r-- | package/mac80211/patches/011-move_ar9170_usb_compat_code.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/mac80211/patches/011-move_ar9170_usb_compat_code.patch b/package/mac80211/patches/011-move_ar9170_usb_compat_code.patch index 2a705b5ce0..036d56301f 100644 --- a/package/mac80211/patches/011-move_ar9170_usb_compat_code.patch +++ b/package/mac80211/patches/011-move_ar9170_usb_compat_code.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ar9170/usb.c +++ b/drivers/net/wireless/ath/ar9170/usb.c -@@ -96,6 +96,225 @@ static struct usb_device_id ar9170_usb_i +@@ -98,6 +98,225 @@ static struct usb_device_id ar9170_usb_i }; MODULE_DEVICE_TABLE(usb, ar9170_usb_ids); @@ -510,6 +510,6 @@ -extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor); - - #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) */ - - #endif /* LINUX_26_29_COMPAT_H */ + #define DIV_ROUND_CLOSEST(x, divisor)( \ + { \ + typeof(divisor) __divisor = divisor; \ |