[WCNCR00146539] misc: fix compilation error with kernel 2.6.32

[Description]
Fix compilation error with kernel 2.6.32.
Add GET_ADDR() macro to get IP address for different kernel version.

Change-Id: I66f0724a007310bd9b5082c797dd85227ceb0f13
Feature: misc
Signed-off-by: Awk Jiang <awk.jiang@mediatek.com>
CR-Id: WCNCR00146539
4 files changed