diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-06-24 19:53:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-06-24 19:53:13 +0000 |
commit | c7744447a5312258fb08d8191976d35170ed8faa (patch) | |
tree | e56b59dcf552f1cae375d9d5b33716c9dc090e75 /package/mac80211/patches/020-netlink_seq.patch | |
parent | e2d3555a9110e82b9161ebe2643fc0badd4ec565 (diff) | |
download | upstream-c7744447a5312258fb08d8191976d35170ed8faa.tar.gz upstream-c7744447a5312258fb08d8191976d35170ed8faa.tar.bz2 upstream-c7744447a5312258fb08d8191976d35170ed8faa.zip |
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.patch | 12 |
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 0000000000..2897b40681 --- /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) |