Commit 623db56
[bouffalo lab] fix bl616 wifi scan operation with/without specified ssid (project-chip#38877)
* [bouffalo lab] fix bl616 wifi scan operation with/without specified ssid
* Restyled by clang-format
* check ssid length before
* Verify SSID length prior to copying and correct pScanResult reference handling when SSID is specified.
* Restyled by clang-format
* remove +1 for mScanSSID
* Restyled by clang-format
---------
Co-authored-by: Restyled.io <[email protected]>1 parent 47b3a6a commit 623db56
File tree
2 files changed
+35
-5
lines changed- src/platform/bouffalolab/BL616
2 files changed
+35
-5
lines changedLines changed: 32 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
212 | 216 | | |
213 | 217 | | |
214 | 218 | | |
| |||
231 | 235 | | |
232 | 236 | | |
233 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
234 | 261 | | |
235 | | - | |
236 | | - | |
237 | 262 | | |
238 | 263 | | |
239 | 264 | | |
| |||
243 | 268 | | |
244 | 269 | | |
245 | 270 | | |
| 271 | + | |
| 272 | + | |
246 | 273 | | |
247 | 274 | | |
248 | 275 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
0 commit comments