Bug 14757
Summary: | wireless keeps disconnecting and will not reconnect without reboot. | ||
---|---|---|---|
Product: | Networking | Reporter: | Anish Bhatt (anish.7) |
Component: | Wireless | Assignee: | networking_wireless (networking_wireless) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | doochik, linville, reinette.chatre, rjmx, rjw, yi.zhu |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.32 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 14230 | ||
Attachments: | fix scan abort sanity checks |
Description
Anish Bhatt
2009-12-07 04:18:57 UTC
Same problem here on my Sony VGN-CR507E laptop, although failures seem to happen only when resuming after a suspend. I get the problem during regular use as well as suspend. Can provide more debugging information if needed Wild guess, but warnings in wdev_cleanup_work and ieee80211_scan_completed suggests an IFF_DOWN while a scan is in progress. I'm not sure who/what is doing the IFF_DOWN -- maybe we could see a more complete dmesg capture? Another random thought...is it possible you could be accidentally activating the rfkill switch? On some laptops rfkill is just another key combination. Hitting that by accident might explain the "can't connect until reboot" behaviour...? Reporter posted duplicate bug at http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2134 where debugging has already started. The first WARN_ON (scan.c:267) has already been fixed by Johannes [1]. The second WARN_ON will go away also after this patch because cfg80211_scan_done() will then be called correctly to free the rdev->scan_req. This patch is in upstream, but I think we need also fix this for stable. John? 1. http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=commit;h=6d3560d4fc9c5b9fe1a07a63926ea70512c69c32 Just sent the patch to stable@kernel.org -- it's up to them to take it. Could you link the patch here so that I can test it out ? Created attachment 24187 [details]
fix scan abort sanity checks
patch works for me |