Hi everyone,

I have a kernel 3.15.0 installed and I can't get my BCM43227 wireless card working. I've used it before with the same kernel etc. But after system reinstall it's not working. Before I've found a tutorial how to patch the bcmwl source for the kernel 3.15 and up. Now... I can't find it anymore.

Here is the build log:
DKMS make.log for bcmwl-6.30.223.141+bdcom for kernel 3.15.0-031500-generic (x86_64)
Mon Sep 22 21:58:06 CEST 2014
make: Entering directory `/usr/src/linux-headers-3.15.0-031500-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/built-in.o
CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.o
CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_iw.o
CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.o
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_notify_connect_status’:
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:1844:4: warning: passing argument 3 of ‘cfg80211_ibss_joined’ makes pointer from integer without a cast [enabled by default]
cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
^
In file included from /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:3933:6: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘unsigned int’
void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
^
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:1844:4: error: too few arguments to function ‘cfg80211_ibss_joined’
cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
^
In file included from /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:3933:6: note: declared here
void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
^
make[1]: *** [/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.15.0-031500-generic'
I know that the problem is in the cfg80211_ibss_joined() function, but I don't remember how to fix it and ho to rebuild the source code to complete the bcmwl installation.

Thanks for help, Marek.