staging: vt6655: device_intr check for vif on while loop
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 6 Apr 2015 20:19:48 +0000 (21:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 14:57:32 +0000 (16:57 +0200)
commit32b249b0f54fb304c5f90be00ebcb9c1a32d415c
tree0fe742df27935e5c16e739fee2e07bff20eab5d9
parentaeda3b2d4a6760bda799feeaac391a7bdcdbbdb5
staging: vt6655: device_intr check for vif on while loop

vif should never be or go null while in loop.

Fixes race condition where interrupts are late and when
interface is not present.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c