On 09/20/2011 07:09 PM, Vasanthakumar Thiagarajan wrote: > Driver does not report disconnect event properly when in connecting state, > this leads to issues like not reporting the unavailablity of the > connected AP and failures in starting reconnection. Send a disconnect > command to target when a disconnect event is received with reason code > other than 3 (DISCONNECT_CMD - disconnect request from host) to make the > stop trying even after giving disconnect event. There will be one more > disconnect event for this disconnect command which will be notified to > cfg80211. A similar comment in the code would be nice. It's not obvious from the code why a separate disconnect command is needed. Kalle -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html