wl12xx: flush packets before stopping dev role
authorEliad Peller <eliad@wizery.com>
Sun, 18 Dec 2011 18:25:42 +0000 (20:25 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 20 Dec 2011 20:30:14 +0000 (22:30 +0200)
commit8aefffeaae5d2e10edc77c084f75dc36bcce0c68
tree6fd639d2a43f4510cedcc0af5183b8d579415a27
parenta0c7b7825e026c7acf63fd92a5182efd3aff637f
wl12xx: flush packets before stopping dev role

During sta disconnection, a deauth packet is being queued to
the dev role queue. However, the dev role is being stopped
before the packet was sent.

Flush the tx queue before stopping the dev role.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/cmd.c