blob: 4384d6eaeca3a565582f51848a1ef7254e407fa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -8771,7 +8771,9 @@ static int nl80211_dump_scan(struct sk_b
if (start == 0)
cfg80211_bss_expire(rdev);
+#if LINUX_VERSION_IS_GEQ(3,1,0)
cb->seq = rdev->bss_generation;
+#endif
list_for_each_entry(scan, &rdev->bss_list, list) {
if (++idx <= start)
|