]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: don't WARN_ON in case of existing ROC
authorEliad Peller <eliad@wizery.com>
Sun, 6 Mar 2016 22:28:08 +0000 (00:28 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:00:20 +0000 (15:00 +0200)
commite77351b8b11a512d3cbb6a623c2cfeb35964fb48
tree6505d991a99a8061ef94ec9a09e0b8a65dbdfb18
parentb1d062674e0e48b5102177ce3bd2d1951b3f2f66
wlcore: don't WARN_ON in case of existing ROC

When working with AP + P2P, it's possible to get into
a state when the AP is in ROC (due to assiciating station)
while trying to ROC on the P2P interface.

Replace the WARN_ON with wl1271_error to avoid warnings
in this case.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/main.c