wlan: moved ipv4 and ipv6 reg/unreg to load unload function

Unregistring of IP notifier was not happening properly
incase of unloading when in IBSS mode of operation.

To fix this in general not depending on mode of operation,
moved ipv4 and ipv6 registration and unregistration to load
unload function. With this, one single notifier registration
will take care of offloads depending on the adapter for which
the notifier callback is called.

Change-Id: Ica461f57c7eda09ca4bead9774379e2c5a59b0f6
CRs-Fixed: 774895
3 files changed
tree: 8d260d83a87ca8c712e3dd3e104b93d5d3fc628b
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile