commit | 6ef713f9b21b6f72dcf80d925da4d7657704371e | [log] [tgz] |
---|---|---|
author | Hoonki Lee <lhoonki@qca.qualcomm.com> | Tue Feb 05 18:08:43 2013 -0800 |
committer | Madan Mohan Koyyalamudi <mkoyya@codeaurora.org> | Tue Feb 12 16:26:44 2013 -0800 |
tree | 57d951da82038c9fd3c47e4349094f320359e961 | |
parent | 1912bdb5eb32a8fae5d1b90a73b1beedb914f069 [diff] |
TDLS: Fixed mem_free problem at driver unload. The peer list is doubly linked list. The code to free the peers at exit is not correct and will result in double free error if there are more than 1 peer. Use linked list APIs to take care of mem_free. CRs-fixed: 445416 Change-Id: Ib3a5b659743898796cbc3edd21a0d1aa9682a63c (cherry picked from commit 387663d2dd25cdee0dab418a78be7c6229b7f8bc)