wlan: check for parameters for hearbeat offload

Check that the time period passed is not zero for
TCP hearbeat offload feature.

Change-Id: I47a05df7347ac69ec30adde70d2243509f706fa6
CRs-Fixed: 608722
wlan: Release 3.2.3.240b

Revision 3.2.3.240b