]> git.baikalelectronics.ru Git - kernel.git/commit
iwmc3200wifi: Handle UMAC stalls and UMAC assert properly
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 1 Sep 2009 13:14:05 +0000 (15:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Sep 2009 16:48:28 +0000 (12:48 -0400)
commitd4770604bc5313230e3e2ddd85fe3be609cbefde
tree1ac8c392c188e330be24496d42f9e5d9846ef36b
parent62ba364c2c6b503e892310234aa02eea10729198
iwmc3200wifi: Handle UMAC stalls and UMAC assert properly

When UMAC stalls or asserts, we want to reset the device. But when we're
associated, the current reset worker will end up calling
cfg80211_connect_result() with the cfg80211 sme layer knowing that we're
reassociating. That ends up with some ugly warnings.
With this patch we're telling the upper layer that we've roamed if
reassociation succeeds, and that we're disconnected if it fails.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/iwm.h
drivers/net/wireless/iwmc3200wifi/main.c
drivers/net/wireless/iwmc3200wifi/rx.c