wlan: Extract the Adapter context from notifier block argument

Current implementation of IP notifier extracts adapter context
from the net device structure and then interpret it. The
notifier can be called for different interface other than the one
the driver is interested in, which leads interpreting an invalid
address as the valid adapter context.

Avoid this by extracting the relevant information using the
notifier block argument passed to the IP notifier callback.

Change-Id: Iaf1529b393e5433790baf60985fed7662cf5e92f
CRs-Fixed: 791657
1 file changed
tree: 229f86245a66bcfdcf034606ab47cdba0d430fe8
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile