blob: ea0fcdde305e89fe32a783b3758403448edc2e9c [file] [log] [blame]
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -8406,7 +8406,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)