
Wiphy is attached to pdev after pdev has been created, but before pdev is opened. So maintain the state of wiphy in pdev open and close callbacks. While calling regulatory callbacks, check the wiphy init state. Change-Id: I51243017ac24bc4473abddbfd0506b9e3490de4a CRs-Fixed: 2718363