~ubuntu-branches/ubuntu/quantal/linux-backports-modules-3.5.0/quantal-updates

« back to all changes in this revision

Viewing changes to updates/cw-3.6/patches/42-netlink_seq.patch

  • Committer: Package Import Robot
  • Author(s): Leann Ogasawara
  • Date: 2012-10-10 22:28:55 UTC
  • Revision ID: package-import@ubuntu.com-20121010222855-qepocc61xktv6gs9
Tags: 3.5.0-17.1
* Open Quantal LBM
* Add compat-wireless 3.6
  -LP: #1066123

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/net/wireless/nl80211.c
 
2
+++ b/net/wireless/nl80211.c
 
3
@@ -4690,7 +4690,9 @@ static int nl80211_dump_scan(struct sk_b
 
4
        spin_lock_bh(&rdev->bss_lock);
 
5
        cfg80211_bss_expire(rdev);
 
6
 
 
7
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0))
 
8
        cb->seq = rdev->bss_generation;
 
9
+#endif
 
10
 
 
11
        list_for_each_entry(scan, &rdev->bss_list, list) {
 
12
                if (++idx <= start)