mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-23 07:00:07 +00:00
告警清理
Signed-off-by: Wuhongbo <wuhongbo7@h-partners.com>
This commit is contained in:
parent
44a9f66366
commit
d05a21a0b8
@ -29,14 +29,6 @@ export default struct InputComponent {
|
||||
controller: CustomDialogController;
|
||||
eventConnect: (value: string) => void;
|
||||
|
||||
// checkCharacter(str: string): boolean{
|
||||
// let pattern = new RegExp("[`+-\\~!@#$^&*()=|{}':;',\\[\\].<>《》/?~!@#¥……&*()——|{}【】‘;:”“'。,、? ]");
|
||||
// if (pattern.test(str)) {
|
||||
// return true;
|
||||
// }
|
||||
// return false;
|
||||
// }
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
Text(this.title)
|
||||
@ -67,13 +59,6 @@ export default struct InputComponent {
|
||||
this.inputValue = value;
|
||||
})
|
||||
.height(60)
|
||||
// Divider()
|
||||
// .color('#bcbcbc')
|
||||
// .height(1)
|
||||
// .margin({
|
||||
// left: 15,
|
||||
// right: 15
|
||||
// })
|
||||
|
||||
Row() {
|
||||
Button(this.cancelVal, { type: ButtonType.Capsule, stateEffect: true })
|
||||
|
@ -388,6 +388,10 @@ static void RecordIeNeedParse(unsigned int id, ScanInfoElem* ie, struct NeedPars
|
||||
|
||||
static void GetInfoElems(int length, int end, char *srcBuf, ScanInfo *pcmd)
|
||||
{
|
||||
if (pcmd == NULL) {
|
||||
LOGE("%{public}s, pcmd is NULL", __func__);
|
||||
return;
|
||||
}
|
||||
int len;
|
||||
int start = end + 1;
|
||||
int last = end + 1;
|
||||
@ -760,6 +764,10 @@ int Get80211ElemsFromIE(const uint8_t *start, size_t len, struct HdiElems *elems
|
||||
}
|
||||
|
||||
HDI_CHECK_ELEMENT(elem, start, len) {
|
||||
if (elem == NULL) {
|
||||
LOGE("%{public}s, elem is NULL", __func__);
|
||||
return false;
|
||||
}
|
||||
uint8_t id = elem->id, elen = elem->datalen;
|
||||
const uint8_t *pos = elem->data;
|
||||
|
||||
|
@ -56,7 +56,7 @@ void OnWpsTimeOut(int status);
|
||||
void OnWpaConnectionFull(int status);
|
||||
void OnWpaConnectionReject(int status);
|
||||
void OnWpaStaNotifyCallBack(const char *notifyParam);
|
||||
void OnDisConnectReasonCallback(int, const char *bssid);
|
||||
void OnDisConnectReasonCallback(int reason, const char *bssid);
|
||||
|
||||
/**
|
||||
* @Description Get the Supplicant Rpc Client object.
|
||||
|
@ -963,7 +963,7 @@ void ScanService::HandlePnoScanInfo(std::vector<InterScanInfo> &scanInfoList)
|
||||
for (; iter != scanInfoList.end(); ++iter) {
|
||||
if ((iter->timestamp / SECOND_TO_MILLI_SECOND) > pnoScanStartTime) {
|
||||
filterScanInfo.push_back(*iter);
|
||||
WIFI_LOGD("InterScanInfo bssid:%{private}s, ssid:%{public}s, capabilities:%{public}s,"
|
||||
WIFI_LOGD("InterScanInfo bssid:%{public}s, ssid:%{public}s, capabilities:%{public}s,"
|
||||
"frequency:%{public}d, rssi:%{public}d, timestamp:%" PRId64 ".\n",
|
||||
MacAnonymize(iter->bssid).c_str(), SsidAnonymize(iter->ssid).c_str(), iter->capabilities.c_str(),
|
||||
iter->frequency, iter->rssi, iter->timestamp);
|
||||
|
Loading…
Reference in New Issue
Block a user