Merge "Revert "wlan: Don't overwrite the channel configured in hostapd.conf""

This commit is contained in:
Linux Build Service Account
2014-01-07 12:04:43 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 1 additions and 6 deletions

View File

@@ -12,10 +12,6 @@ LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -DSDK_VERSION=\"0.0.1.0\"
ifeq ($(PLATFORM_VERSION),4.4)
LOCAL_CFLAGS += -DANDROID_VERSION_KITKAT
endif
ifdef WIFI_DRIVER_MODULE_PATH
LOCAL_CFLAGS += -DWIFI_DRIVER_MODULE_PATH=\"$(WIFI_DRIVER_MODULE_PATH)\"
endif

View File

@@ -3097,7 +3097,6 @@ int qsapsetSoftap(int argc, char *argv[])
return -1;
}
}
#ifndef ANDROID_VERSION_KITKAT
/** channel */
rlen = RECV_BUF_LEN;
if(argc > 5) {
@@ -3109,7 +3108,7 @@ int qsapsetSoftap(int argc, char *argv[])
return -1;
}
}
#endif
/** Security */
rlen = RECV_BUF_LEN;
if(argc > 6) {