That’s my dmesg when it happens:
[17184.889487] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[17184.889500] brcmfmac: brcmf_fill_bss_param: Failed to get bss info (-110)
[17187.449506] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[17197.529474] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[17200.093210] smsc95xx 1-1.1:1.0 enxb827eb3903b8: hardware isn’t capable of remote wakeup
[17206.393571] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[17206.397577] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[17206.397595] brcmfmac: power management disabled
[17206.405940] IPv6: ADDRCONF(NETDEV_UP): enxb827eb5903b8: link is not ready
[17206.490672] smsc95xx 1-1.1:1.0 enxb827eb3903b8: hardware isn’t capable of remote wakeup
[17206.490787] IPv6: ADDRCONF(NETDEV_UP): enxb827eb5903b8: link is not ready
[17206.730628] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[17234.062008] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready