OSDN Git Service
(root)
/
android-x86
/
system-connectivity-wificond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30cd939
)
Do not report error if no ssid is found in IE
author
Ningyuan Wang
<nywang@google.com>
Fri, 26 Aug 2016 22:47:29 +0000
(15:47 -0700)
committer
Ningyuan Wang
<nywang@google.com>
Fri, 26 Aug 2016 22:49:01 +0000
(15:49 -0700)
BUG=None
TEST=compile
Change-Id: I71b441728687faf167d417e50255322143c17f80
scanning/scan_utils.cpp
patch
|
blob
|
history
diff --git
a/scanning/scan_utils.cpp
b/scanning/scan_utils.cpp
index
0b40567
..
bbbac99
100644
(file)
--- a/
scanning/scan_utils.cpp
+++ b/
scanning/scan_utils.cpp
@@
-135,8
+135,9
@@
bool ScanUtils::ParseScanResult(unique_ptr<const NL80211Packet> packet, ScanResu
}
vector<uint8_t> ssid;
if (!GetSSIDFromInfoElement(ie, &ssid)) {
- LOG(ERROR) << "Failed to get SSID from Information Element";
- return false;
+ // Hidden wireless network has no SSID in IE.
+ LOG(DEBUG) << "Failed to get SSID from Information Element. "
+ << "This might be a hidden network";
}
uint64_t tsf;
if (!bss.GetAttributeValue(NL80211_BSS_TSF, &tsf)) {