commit | 457834b09016b16babdf339ef040edee25be492e | [log] [tgz] |
---|---|---|
author | Mihir Shete <smihir@qti.qualcomm.com> | Tue Mar 11 21:46:21 2014 +0530 |
committer | Kiet Lam <c_kietl@qca.qualcomm.com> | Thu Apr 03 12:37:23 2014 -0700 |
tree | 1acdda0b760ab89c2edaef9a5584c1813d2a98f3 | |
parent | aef8ee1a1d663e2762040b65d070f628d19a2d95 [diff] |
wlan: initialize temp_reg_domain from NV file. If the temp_reg_domain is not initialzed and the first regulatory hint comes directly from the CORE when wiphy is registered then we might end up indexing the wrong regdomain in the NV structure which leads to memory corruption. To avoid this initialize temp_reg_domain with the regulatory domain value obtained from NV before wiphy initialization. Change-Id: I6251d08b831af82f69da0ad562b5396bd9e30d8a CRs-Fixed: 629647