Today, when i build Broadcom 802.11 Linux STA driver, there is a error: src/wl/sys/wl_linux.c:388:2: error: unknown field 'ndo_set_multicast_list' specified in initializer
then I google this question and find its answer.
1 vim src/wl/sys/wl_linux.c
go to line 385:
change the line: .ndo_set_multicast_list = wl_set_multicast_list,
to the line: .ndo_set_rx_mode = wl_set_multicast_list,
2 make
then you will find everything ok.
Here is the output lines while building:
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-3.2.29'
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
CC [M] /usr/local/src/hybrid_wl/32bits/src/wl/sys/wl_linux.o
CC [M] /usr/local/src/hybrid_wl/32bits/src/wl/sys/wl_iw.o
CC [M] /usr/local/src/hybrid_wl/32bits/src/wl/sys/wl_cfg80211.o
LD [M] /usr/local/src/hybrid_wl/32bits/wl.o
Building modules, stage 2.
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /usr/local/src/hybrid_wl/32bits/wl.o
see include/linux/module.h for more information
CC /usr/local/src/hybrid_wl/32bits/wl.mod.o
LD [M] /usr/local/src/hybrid_wl/32bits/wl.ko
make[1]: Leaving directory `/usr/src/linux-3.2.29'
3 you will find the driver module "wo.ko".