wlan: Fix inline building

This fixes inline bulding for devices like ruby
* ifndef'ed mutiple defines
* Fix compiler warning

Change-Id: I3282a93c7a637951792e4270eaabeced7fbd9a7b
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_hardware_ti_wlan into cm-10.1