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:Greg Kroah-Hartman <gregkh@google.com> (cherry picked from commit 006d1fc4) Signed-off-by:
Ramji Jiyani <ramjiyani@google.com> (cherry picked from commit 4db218b4)
Loading
Please sign in to comment