OSDN Git Service

Fix wifi_hal.h and gscan.h to compile for c projects.
authorAmarnath Hullur Subramanyam <amarnath@codeaurora.org>
Tue, 2 Dec 2014 18:21:45 +0000 (10:21 -0800)
committerVinit Deshpande <vinitd@google.com>
Mon, 8 Dec 2014 18:51:44 +0000 (10:51 -0800)
commita09170e381fa38591e74fd35c1dc12b5cd5f3843
tree37f4063d67092d3e6d8e78aa7e4c3cb0d1ca919d
parentbb73aa5a14b1cab3d4220ac0ba9f8ee7612d6d11
Fix wifi_hal.h and gscan.h to compile for c projects.

When the wifi_hal.h is included as part of the c source
code files some of the functions are not exported. The
const variable as an index to an array is causing compiler
error. The changes are to address these issues.

Change-Id: Ia2dbd7a87315cee8d0246a8ac6539c9b4b22ffd4
include/hardware_legacy/gscan.h
include/hardware_legacy/wifi_hal.h