linux_old1/drivers/net/wireless/brcm80211
Arend van Spriel c49aa4aa2b brcmsmac: fix NULL pointer crash in brcms_c_regd_init()
In the function brcms_c_regd_init() the channels are validated
against the device capabilities. This is done for both 2.4G and
5G band, but there are devices that are 2.4G only, ie. BCM4313.
For that device this leads to a NULL dereference. This patch adds
a check in brcms_c_regd_init() to fix this.

Issue introduced in wireless-next tree by following commit:
cf03c5d brcm80211: smac: inform mac80211 of the X2 regulatory domain

Cc: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-06-22 14:44:05 -04:00
..
brcmfmac brcmfmac: make inclusion of vmalloc.h explicit fixing linux-next build 2012-06-22 14:44:05 -04:00
brcmsmac brcmsmac: fix NULL pointer crash in brcms_c_regd_init() 2012-06-22 14:44:05 -04:00
brcmutil brcm80211: brcmu_pkt_buf_free_skb() should handle NULL 2012-06-05 15:23:20 -04:00
include brcm80211: fmac: clean up chip id table 2012-04-13 14:32:53 -04:00
Kconfig brcmfmac: add out of band interrupt support 2012-05-08 21:53:55 -04:00
Makefile brcm80211: Use normal DEBUG define 2012-01-24 14:21:13 -05:00