]> git.karo-electronics.de Git - karo-tx-linux.git/commit
brcmsmac: fix brcms_c_regd_init() which crashed after 11ad patch
authorArend van Spriel <arend@broadcom.com>
Tue, 3 Jul 2012 18:46:02 +0000 (20:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:36:35 +0000 (16:36 -0400)
commit32c336a5dfd16b4645c8a0dbc534efd02f079e02
tree37479eed85d14dd9d85c226dd4b65ea68fb297ec
parent2b943a3315f4c01e84b7913e9e97b148da9da9d3
brcmsmac: fix brcms_c_regd_init() which crashed after 11ad patch

This patch fixes an OOPS in brcmsmac driver, which was introduced
by the 11ad patch 'cfg80211: add 802.11ad (60gHz band) support'.
The value IEEE80211_NUM_BANDS increased, which was used in the
brcms_c_regd_init() function.

Cc: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Cc: Johannes Berg <johannes.berg@intel.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/channel.c