arco/samsung-kernel-msm7x30 — pull request #21 by jfbs (2013-04-30 19:03:29+00:00)
Title: ancora_tmo: fix for building wifi modules

Despite being defined in bcmwifi_channels.h, WL_CHANSPEC_CTL_SB_NONE is stating undeclared during a build as such:

/drivers/net/wireless/bcmdhd/src/wl/sys/wl_roam.c: In function 'get_roam_channel_list':
/drivers/net/wireless/bcmdhd/src/wl/sys/wl_roam.c:91:57: error: 'WL_CHANSPEC_CTL_SB_NONE' undeclared (first use in this function)
make[6]: *** [drivers/net/wireless/bcmdhd/src/wl/sys/wl_roam.o] Error 1

Declaring it again in wlioctl.h builds working wifi module, but with the warning:

/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:141:0: warning: "WL_CHANSPEC_CTL_SB_NONE" redefined [enabled by default]
/drivers/net/wireless/bcmdhd/src/include/wlioctl.h:47:0: note: this is the location of the previous definition