
tid queue init can be called from peer MAP event handler and peer setup functions. Since they can run at same time because of the sequencing, make init_done an atomic variable and set it before allocating the retry ppdu. Otherwise, it can result in double allocation and memory leak. Change-Id: I354bf2763b8ddedcf83f04eccccaafc329eac66d