Commit 7dbf29eb authored by Ramji Jiyani's avatar Ramji Jiyani Committed by Lee Jones
Browse files

ANDROID: always add the struct wireless_dev * to struct net_device



When Android moved the wifi drivers to be a vendor driver, it disabled
CFG80211 from the build configuration, yet that needs to be enabled in
the vendor module build.  As the struct net_device is defined in the
core kernel image, both builds needs to have the same structure size, so
always enable it in the structure and protect any potential vendor
changes from showing up in the CRC checker by maing it a void * as far
as it is concerned.

Bug: 274416891
Test: TH

Fixes: c304eddc ("net: wrap the wireless pointers in struct net_device in an ifdef")
Change-Id: I7c2a10da63b6022abbac78a3a0d48c2fd405f42c
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
(cherry picked from commit 006d1fc4)
Signed-off-by: default avatarRamji Jiyani <ramjiyani@google.com>
(cherry picked from commit 4db218b4)
parent f8bf4629
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment