qcacld-3.0: Don't send reg hint during start modules after PDR

After PDR driver send regulatory hint with the same country code
which was already set by driver before PDR. As part of regulatory
hint kernel remove the custom regulatory flag from wiphy flags
and as in this case country has not changed, no reg notifier is
called and thus wiphy flags are not restored by driver.
Due to this if user set an country the channel flags and power
are not reset and 5Ghz channels remain Passive.

To fix this don't send reg hint during start modules if
init_by_driver flag is set.

Change-Id: I126465aa91f40df5c92da44361f414a7792e927f
CRs-Fixed: 2019049
1 file changed
tree: 9ea04347fefba34359fdae70ecdfccfe34f580ac
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt