wifi: update bcm4329 driver to support the max number of channels
authorlbt <lbt@rock-chips.com>
Thu, 30 Dec 2010 03:57:30 +0000 (11:57 +0800)
committerlbt <lbt@rock-chips.com>
Thu, 30 Dec 2010 03:57:30 +0000 (11:57 +0800)
drivers/net/wireless/bcm4329/dhd_common.c

index 15a91fb2b0a20b86459634e1c43d6aa2e7ba9014..2fe30bdfdde59126d43a611324ceaacc7198003d 100644 (file)
@@ -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) {