diff -Nru broadcom-sta-5.100.82.112/debian/changelog broadcom-sta-5.100.82.112/debian/changelog --- broadcom-sta-5.100.82.112/debian/changelog 2011-12-14 13:05:27.000000000 +0900 +++ broadcom-sta-5.100.82.112/debian/changelog 2012-01-24 11:13:14.000000000 +0900 @@ -1,3 +1,11 @@ +broadcom-sta (5.100.82.112-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix compile error on linux 3.2. (Closes: #656600) + Add patches/06_fix_656600.patch + + -- Nobuhiro Iwamatsu Tue, 24 Jan 2012 11:11:13 +0900 + broadcom-sta (5.100.82.112-4) unstable; urgency=low * Enabled compilation for 64bits kernel on i386 architecture diff -Nru broadcom-sta-5.100.82.112/debian/patches/06_fix_656600.patch broadcom-sta-5.100.82.112/debian/patches/06_fix_656600.patch --- broadcom-sta-5.100.82.112/debian/patches/06_fix_656600.patch 1970-01-01 09:00:00.000000000 +0900 +++ broadcom-sta-5.100.82.112/debian/patches/06_fix_656600.patch 2012-01-24 11:12:33.000000000 +0900 @@ -0,0 +1,33 @@ +Description: FTBFS with linux kernel 3.2 +Forwarded: need +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656600 +Author: Nobuhiro Iwamatsu + +--- a/amd64/src/wl/sys/wl_linux.c 2012-01-24 11:05:00.000000000 +0900 ++++ b/amd64/src/wl/sys/wl_linux.c 2012-01-24 11:07:10.000000000 +0900 +@@ -385,7 +385,11 @@ + #endif + .ndo_get_stats = wl_get_stats, + .ndo_set_mac_address = wl_set_mac_address, ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0) ++ .ndo_set_rx_mode = wl_set_multicast_list, ++#else + .ndo_set_multicast_list = wl_set_multicast_list, ++#endif + .ndo_do_ioctl = wl_ioctl + }; + +--- a/i386/src/wl/sys/wl_linux.c 2012-01-24 11:05:12.000000000 +0900 ++++ b/i386/src/wl/sys/wl_linux.c 2012-01-24 11:08:20.000000000 +0900 +@@ -385,7 +385,11 @@ + #endif + .ndo_get_stats = wl_get_stats, + .ndo_set_mac_address = wl_set_mac_address, ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0) ++ .ndo_set_rx_mode = wl_set_multicast_list, ++#else + .ndo_set_multicast_list = wl_set_multicast_list, ++#endif + .ndo_do_ioctl = wl_ioctl + }; + diff -Nru broadcom-sta-5.100.82.112/debian/patches/series broadcom-sta-5.100.82.112/debian/patches/series --- broadcom-sta-5.100.82.112/debian/patches/series 2011-12-13 13:40:38.000000000 +0900 +++ broadcom-sta-5.100.82.112/debian/patches/series 2012-01-24 11:12:56.000000000 +0900 @@ -4,3 +4,4 @@ 03-rename-to-wlan0.patch 04-linux-semaphore-include.patch 05-2.6.39.patch +06_fix_656600.patch