aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorAvinash Patil <[email protected]>2013-10-12 01:31:31 +0000
committerJohn W. Linville <[email protected]>2013-10-14 17:24:25 +0000
commite8041ceeded8a0f68cc0c75faf911e4369bba89f (patch)
tree6de96986d03a2356a54d38c1f15166c341ef5d7a /net/ipv4/tcp_output.c
parentMerge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jber... (diff)
downloadkernel-e8041ceeded8a0f68cc0c75faf911e4369bba89f.tar.gz
kernel-e8041ceeded8a0f68cc0c75faf911e4369bba89f.zip
mwifiex: inform cfg80211 about disconnect if device is removed
If device is surprise removed, commands sent to FW including deauthenticate command fail as bus writes fail. We update our media_connected status to false and inform cfg80211 about disconnection only when command is successful. Since cfg80211 assumes device is still connected, it results into following WARN_ON during unload: WARNING: CPU: 0 PID: 18245 at net/wireless/core.c:937 cfg80211_netdev_notifier_call+0x175/0x4d0 [cfg80211]() Avoid this by emitting cfg80211_disconnected event even if the deauthenticate command fails. Signed-off-by: Avinash Patil <[email protected]> Signed-off-by: Bing Zhao <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions