summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/020-netlink_seq.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-06-24 19:53:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-06-24 19:53:13 +0000
commitc7744447a5312258fb08d8191976d35170ed8faa (patch)
treee56b59dcf552f1cae375d9d5b33716c9dc090e75 /package/mac80211/patches/020-netlink_seq.patch
parente2d3555a9110e82b9161ebe2643fc0badd4ec565 (diff)
downloadmtk-20170518-c7744447a5312258fb08d8191976d35170ed8faa.zip
mtk-20170518-c7744447a5312258fb08d8191976d35170ed8faa.tar.gz
mtk-20170518-c7744447a5312258fb08d8191976d35170ed8faa.tar.bz2
mac80211: update to wireless-testing 2011-06-22
SVN-Revision: 27275
Diffstat (limited to 'package/mac80211/patches/020-netlink_seq.patch')
-rw-r--r--package/mac80211/patches/020-netlink_seq.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/020-netlink_seq.patch b/package/mac80211/patches/020-netlink_seq.patch
new file mode 100644
index 0000000..2897b40
--- /dev/null
+++ b/package/mac80211/patches/020-netlink_seq.patch
@@ -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)