This is the commit reported by bisect: 2b4208383d114d202d38eb3b04ff7b844de8eefa is the first bad commit commit 2b4208383d114d202d38eb3b04ff7b844de8eefa Author: Johannes Berg <johannes.b...@intel.com> Date: Fri May 6 11:11:20 2011 -0700
iwlagn: fix iwl_is_any_associated BugLink: http://bugs.launchpad.net/bugs/793702 commit 054ec924944912413e4ee927b8cf02f476d08783 upstream. The function iwl_is_any_associated() was intended to check both contexts, but due to an oversight it only checks the BSS context. This leads to a problem with scanning since the passive dwell time isn't restricted appropriately and a scan that includes passive channels will never finish if only the PAN context is associated since the default dwell time of 120ms won't fit into the normal 100 TU DTIM interval. Fix the function by using for_each_context() and also reorganise the other functions a bit to take advantage of each other making the code easier to read. Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w....@intel.com> Signed-off-by: John W. Linville <linvi...@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gre...@suse.de> Signed-off-by: Tim Gardner <tim.gard...@canonical.com> :040000 040000 0db112ac8e49c4741150666f49236a5386ecbeb3 7d2640cda3ac0b9b69fae1bdf35ee62e3be310cc M drivers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/837819 Title: Latest kernel 2.6.38-11.48 crashes the iwlagn (wifi) driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/837819/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs