commit | f04ddad97ee3bb9fc33933ffbc44c0ecd5b3c5ce | [log] [tgz] |
---|---|---|
author | Leo Chang <schang@qca.qualcomm.com> | Wed Sep 18 13:46:38 2013 -0700 |
committer | Madan Mohan Koyyalamudi <mkoyya@codeaurora.org> | Fri Sep 20 18:05:56 2013 -0700 |
tree | 50f77eac6bcbd3233e6965cb6cb8fa0f9731f06f | |
parent | 4a18ef2523d004129a694f69b3e4ae04a7eaccf4 [diff] |
wlan: FTM second start crash fix. New WIPHY API, with FTM mode, WIPHY registration does not happen. So, cfg80211 does not have WIPHY instance. But when unload driver, try to un-register WIPHY. As a result, cfg80211 will crash with NULL pointer access. If FTM mode, do not try to un-register WIPHY. Change-Id: I598bab112c0dc351e36270252b55ca3747047302 CRs-fixed: 546549