Fix cleanup of COMPLETE_SCAN event
authorAshwin <ashwin.bhat@broadcom.com>
Wed, 12 Aug 2015 21:55:51 +0000 (14:55 -0700)
committerVinit Deshpande <vinitd@google.com>
Wed, 12 Aug 2015 22:20:42 +0000 (15:20 -0700)
commitde37675b218f0c685512417d914dff60f3b4b115
tree3e02f1fdba4c8c03c43e40ffcb58f4b4c0c6f4e8
parentce85c99d5b7035cf4312c40c0431d31cfb7e7951
Fix cleanup of COMPLETE_SCAN event

unregister the event if gscan setup fails

Bug: 23030690

Change-Id: I6f20f340e96cf35af3e7fc28893fb4bc50c64ed8
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
bcmdhd/wifi_hal/gscan.cpp