From: Daniel Kim Date: Mon, 12 May 2014 08:47:32 +0000 (+0200) Subject: brcmfmac: Fix reconnect failure after beacon timeout X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d2e8783991d5aa693fd0b4bc8dd11422a41950;p=pandora-kernel.git brcmfmac: Fix reconnect failure after beacon timeout The DISASSOC command needs to be sent to firmware when a connection loss is detected by firmware (e.g., beacon timeout). Otherwise the next connect request fails due to a lingering LINK(down) event from firmware. This patch resolves the issue by using brcmf_link_down() handler, instead of the incomplete duplicated codes. Reviewed-by: Arend Van Spriel Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Hante Meuleman Signed-off-by: Daniel Kim Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed