mwifiex: fix soft lockup during iperf UDP RX
authorAvinash Patil <patila@marvell.com>
Mon, 29 Sep 2014 16:14:13 +0000 (21:44 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2014 17:17:46 +0000 (13:17 -0400)
commitf73e557bca0609d0f997414a5b1403e3fadd5dea
treec7e48f589a3f7dc12ee1e89f8a409c959d7f1ec3
parentb182427efa7dbd9ed301dea7aae8a5c0fbbe5e53
mwifiex: fix soft lockup during iperf UDP RX

A soft lockup was observed on ARM multicore platform while UDP
RX iperf was running on station.

Reason for this is delay_main_task was not taken into consideration while
jumping to process_start. Now if delay_main_task is true, we would exit
mwifiex_main_process instead of going to process_start again.
This ensure other process is scheduled on this CPU and soft lockup is avoided.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kevin Gan <ganhy@marvell.com>
Signed-off-by: Marc Yang <yangyang@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/main.c