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
Merge branch 'cm-10.1' of git://github.com/Quarx2k/android_hardware_ti_wlan into cm-10.1

Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	mac80211/compat_wl12xx/compat/crc8.c
	mac80211/compat_wl12xx/net/wireless/core.c
	mac80211/compat_wl12xx/net/wireless/reg.c