Hi Vihas, On 2/9/22 20:48, Vihas Makwana wrote:
-exit: + if (pnetdev) + rtw_free_netdev(pnetdev); + else if (padapter) + vfree(padapter); + padapter = NULL; + return padapter; }
Why just not `return NULL`? With regards, Pavel Skripkin
Hi Vihas, On 2/9/22 20:48, Vihas Makwana wrote:
-exit: + if (pnetdev) + rtw_free_netdev(pnetdev); + else if (padapter) + vfree(padapter); + padapter = NULL; + return padapter; }
Why just not `return NULL`? With regards, Pavel Skripkin