AWS IoT example not working with v2.6.1 SDK with nRF7002 DK

AWS IoT example not working with v2.6.1 SDK with nRF7002 DK but works fine with v2.5.2 SDK. 

*** Booting nRF Connect SDK v3.5.99-ncs1-1 ***
[00:00:00.249,725] <inf> aws_iot_sample: The AWS IoT sample started, version: v1.0.0
[00:00:00.260,070] <inf> aws_iot_sample: Bringing network interface up and connecting to the network
[00:00:01.850,524] <inf> wifi_mgmt_ext: Connection requested
[00:00:05.935,699] <inf> aws_iot_sample: Network connectivity established
[00:00:10.945,159] <inf> aws_iot_sample: Connecting to AWS IoT
[00:00:15.418,334] <err> mqtt_helper: Socket error: POLLHUP
[00:00:15.426,757] <err> mqtt_helper: Connection was unexpectedly closed
[00:00:15.444,915] <inf> aws_iot_sample: AWS_IOT_EVT_DISCONNECTED
[00:00:27.068,756] <inf> aws_iot_sample: Network connectivity lost

Related