mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
!2492 fix: modify trans 3.1 with 3.2 to tcp channel
Merge pull request !2492 from michael4096/master
This commit is contained in:
commit
5732b992c9
@ -154,6 +154,7 @@ int32_t TransOnFileChannelOpened(const char *sessionName, const ChannelInfo *cha
|
||||
return SOFTBUS_INVALID_PARAM;
|
||||
}
|
||||
int32_t fileSession;
|
||||
(void)NSTACKX_DFileSetCapabilities(NSTACKX_CAPS_UDP_GSO | NSTACKX_CAPS_WLAN_CATAGORY, NSTACKX_WLAN_CAT_TCP);
|
||||
if (channel->isServer) {
|
||||
FileListener fileListener;
|
||||
(void)memset_s(&fileListener, sizeof(FileListener), 0, sizeof(FileListener));
|
||||
|
Loading…
Reference in New Issue
Block a user