blob: 9b9affb91443ead3ea7edc64554fe3a411a3e775 [file] [log] [blame]
FILESEXTRAPATHS_append := "${THISDIR}/files:"
CFLAGS_append += " -DWIFI_HAL_VERSION_3 -DCONFIG_DFS"
SRC_URI_append += " \
file://fix_guardInterval_set_issue.patch;apply=no \
file://Fix-dmcli-can-not-set-password.patch;apply=no \
"
# we need to patch to code for ccsp-wifi-agent
do_filogic_patches() {
cd ${S}
if [ ! -e filogic_patch_applied ]; then
patch -p1 < ${WORKDIR}/fix_guardInterval_set_issue.patch ${S}/source/TR-181/sbapi/cosa_wifi_apis.c
patch -p1 < ${WORKDIR}/Fix-dmcli-can-not-set-password.patch ${S}/source/TR-181/ml/cosa_wifi_dml.c
touch filogic_patch_applied
fi
}
addtask filogic_patches after do_unpack before do_configure