wil6210: ignore firmware failure to gracefully stop AP
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>
Sun, 25 Jan 2015 08:52:44 +0000 (10:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Jan 2015 07:53:37 +0000 (09:53 +0200)
commit32a20d46b3dcb2f96ffcd5f967616cc599bdf542
tree954b0b5556f4d2a9d94758f09dfc5079c27c2186
parentc5e96c91fa8f98ddceac16f410fc741648585401
wil6210: ignore firmware failure to gracefully stop AP

upon cfg80211_stop_ap, a graceful AP shutdown is requested from firmware
followed by firmware reset.
In case graceful request failed, error was returned to cfg80211.

The change is to return success in this scenario, because firmware
reset will anyhow shutdown the AP.

Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/cfg80211.c