From: lbt Date: Thu, 30 Dec 2010 03:57:30 +0000 (+0800) Subject: wifi: update bcm4329 driver to support the max number of channels X-Git-Tag: firefly_0821_release~10862^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=77b6a8319d67ef182b524924e87f900e4a6d9c4e;p=firefly-linux-kernel-4.4.55.git wifi: update bcm4329 driver to support the max number of channels --- diff --git a/drivers/net/wireless/bcm4329/dhd_common.c b/drivers/net/wireless/bcm4329/dhd_common.c index 15a91fb2b0a2..2fe30bdfdde5 100644 --- a/drivers/net/wireless/bcm4329/dhd_common.c +++ b/drivers/net/wireless/bcm4329/dhd_common.c @@ -1265,6 +1265,9 @@ dhd_preinit_ioctls(dhd_pub_t *dhd) memcpy(dhd->mac.octet, (void *)&ea_addr, ETHER_ADDR_LEN); } #endif /* GET_CUSTOM_MAC_ENABLE */ + + memset(dhd->country_code, 0, sizeof(dhd->country_code)); + strncpy(dhd->country_code,"JP", 2); //set max numbers of radio channels /* Set Country code */ if (dhd->country_code[0] != 0) {