Fix crash caused in wifi_cleanup
authorAshwin <ashwin.bhat@broadcom.com>
Sun, 20 Sep 2015 17:32:34 +0000 (10:32 -0700)
committerxinhe <xinhe@google.com>
Mon, 21 Sep 2015 16:49:13 +0000 (09:49 -0700)
commit5cbe0dca22a31ea90201e47989df44b124f6f13e
tree8b7d07ce72506ef6a63b0f76d5820b09c004e8da
parent8fddc3f579d5d641a7c00fbc3b204ce383b55652
Fix crash caused in wifi_cleanup

Check if ptr is NULL before dereferncing in debug print statements.

Bug: 24196226

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