Skip to content

Commit b270fb0

Browse files
restyled-commitsjonatasrech
authored andcommitted
Restyled by clang-format
1 parent 84e7551 commit b270fb0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/platform/Linux/WiFiPAFDriverCtrlIface.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ CHIP_ERROR WiFiPAFDriverCtrlIface::Publish(std::unique_ptr<uint16_t[]> freq_list
211211
VerifyOrDie(DeviceLayer::GetCommissionableDataProvider()->GetSetupDiscriminator(PafPublish_ssi.DevInfo) == CHIP_NO_ERROR);
212212

213213
std::ostringstream oss;
214-
oss << "NAN_PUBLISH " << "service_name=" << srv_name << " srv_proto_type=" << srv_proto_type << " ttl=" << ttl
215-
<< " freq=" << freq;
214+
oss << "NAN_PUBLISH "
215+
<< "service_name=" << srv_name << " srv_proto_type=" << srv_proto_type << " ttl=" << ttl << " freq=" << freq;
216216

217217
oss << " ssi=" << std::hex << std::setfill('0');
218218
uint8_t * ssi_array = reinterpret_cast<uint8_t *>(&PafPublish_ssi);
@@ -402,8 +402,8 @@ CHIP_ERROR WiFiPAFDriverCtrlIface::Subscribe(const uint16_t & connDiscriminator,
402402

403403
std::ostringstream oss;
404404

405-
oss << "NAN_SUBSCRIBE " << "service_name=" << srv_name << " srv_proto_type=" << srv_proto_type << " active=" << is_active
406-
<< " ttl=" << ttl
405+
oss << "NAN_SUBSCRIBE "
406+
<< "service_name=" << srv_name << " srv_proto_type=" << srv_proto_type << " active=" << is_active << " ttl=" << ttl
407407
#if !CHIP_DEVICE_CONFIG_ENABLE_WIFIPAF_HOSTAPD
408408
<< " freq=" << freq
409409
#endif
@@ -491,8 +491,8 @@ CHIP_ERROR WiFiPAFDriverCtrlIface::Send(const WiFiPAF::WiFiPAFSession & TxInfo,
491491
auto ssi_str = std::string(ssi_hex_buffer.data());
492492

493493
std::ostringstream oss;
494-
oss << "NAN_TRANSMIT " << "handle=" << TxInfo.id << " req_instance_id=" << TxInfo.peer_id << " address=" << peer_mac
495-
<< " ssi=" << ssi_str;
494+
oss << "NAN_TRANSMIT "
495+
<< "handle=" << TxInfo.id << " req_instance_id=" << TxInfo.peer_id << " address=" << peer_mac << " ssi=" << ssi_str;
496496

497497
std::string cmd_str = oss.str();
498498
const char * cmd = cmd_str.c_str();

0 commit comments

Comments
 (0)