mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211: update to wireless-testing 2011-06-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27275 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
package/mac80211/patches/020-netlink_seq.patch
Normal file
12
package/mac80211/patches/020-netlink_seq.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/net/wireless/nl80211.c
|
||||
+++ b/net/wireless/nl80211.c
|
||||
@@ -3728,7 +3728,9 @@ static int nl80211_dump_scan(struct sk_b
|
||||
spin_lock_bh(&rdev->bss_lock);
|
||||
cfg80211_bss_expire(rdev);
|
||||
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0))
|
||||
cb->seq = rdev->bss_generation;
|
||||
+#endif
|
||||
|
||||
list_for_each_entry(scan, &rdev->bss_list, list) {
|
||||
if (++idx <= start)
|
||||
Reference in New Issue
Block a user