Re: [PATCH] wifi: don't remove AP upon link lost event

2013-05-10 Thread Daniel Drake
On Thu, May 9, 2013 at 5:19 PM, Dan Williams d...@redhat.com wrote: So the code in link_timeout_cb() only gets run when the wifi device is already connected and then somehow gets disconnected. Were you hitting this issue while connected to the AP, getting disconnected, and then the AP

Re: [PATCH] wifi: don't remove AP upon link lost event

2013-05-10 Thread Dan Williams
On Fri, 2013-05-10 at 08:39 -0600, Daniel Drake wrote: On Thu, May 9, 2013 at 5:19 PM, Dan Williams d...@redhat.com wrote: So the code in link_timeout_cb() only gets run when the wifi device is already connected and then somehow gets disconnected. Were you hitting this issue while

Re: [PATCH] wifi: don't remove AP upon link lost event

2013-05-10 Thread Daniel Drake
On Fri, May 10, 2013 at 12:14 PM, Dan Williams d...@redhat.com wrote: The supplicant has a BSS timeout too, and APs don't get removed from the supplicant's list until the next scan after the timeout happens. So it could be long after you're out of range, and that means NM would keep trying to

Re: [PATCH] wifi: don't remove AP upon link lost event

2013-05-10 Thread Dan Williams
On Fri, 2013-05-10 at 16:18 -0600, Daniel Drake wrote: On Fri, May 10, 2013 at 12:14 PM, Dan Williams d...@redhat.com wrote: The supplicant has a BSS timeout too, and APs don't get removed from the supplicant's list until the next scan after the timeout happens. So it could be long after