wlan: Get the net_device properly based on kernel version

linkup_event_var event is not set as part of
hdd_netdev_notifier_call that gets invoked for
NETDEV_CHANGE event due to device name check
failure.

Fix is to get the net_device appropriately either
directly or from the notifier_info based on kernel
version.

Change-Id: I4fc172138b319e2522283dc8e4a785afc076dc04
CRs-Fixed: 2508165
1 file changed
tree: 84fd91027733fe873cc8722b6726bd4d440ec5bf
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile