android_kernel_motorola_sm6375/utils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yu Wang 7250c75146 qcacmn: fix compile error in APPs when include wlan_nlink_common.h
wlan_nlink_common.h include linux/if.h, and linux/if.h
refers to 'struct sockaddr' which is defined in
linux/socket.h, and so it include linux/socket.h;
however, in userspace, linux/socket.h doesn't define
'sockaddr', so it will cause errors when compiling
userspace APP if it includs wlan_nlink_common.h.

Add macro __KERNEL__ to determine which header file
should be included:
For userspace, include net/if.h, it will include
sys/socket.h, which is for userspace;
for kernel space, include linux/if.h.

Change-Id: I3a2d8e6edb42871aa3599ef30fbb5d0d275764df
CRs-Fixed: 2054409
2017-05-31 23:37:58 -07:00
..
epping qcacmn: Update for check patch fixes 2017-05-02 13:29:33 -07:00
fwlog qcacmn: Limiting a function declaration within CONFIG_MCL 2017-05-22 09:39:52 -07:00
host_diag_log qcacmn: Add host diag events for wlan disconnection state 2017-03-06 03:38:33 -08:00
logging qcacmn: Remove Logger socket app msg init/deinit changes 2017-04-13 10:32:09 +05:30
nlink qcacmn: fix compile error in APPs when include wlan_nlink_common.h 2017-05-31 23:37:58 -07:00
pktlog qcacmn: Update for check patch fixes 2017-05-02 13:29:33 -07:00
ptt qcacmn: Add support to use generic netlink sockets for userspace apps 2017-03-14 00:13:26 -07:00