net: wireless: bcm4329: Fix one more 2.6.39 compilation error

Change-Id: Ia290e056a177d0e6f84a3cf9e806307b43de5e1b
Signed-off-by: Colin Cross <ccross@android.com>
This commit is contained in:
Colin Cross
2011-05-02 18:06:41 -07:00
parent c473cbb867
commit 9938b0239e

View File

@@ -136,11 +136,13 @@ int wifi_get_mac_addr(unsigned char *buf)
void *wifi_get_country_code(char *ccode)
{
DHD_TRACE(("%s\n", __FUNCTION__));
#ifdef CONFIG_WIFI_CONTROL_FUNC
if (!ccode)
return NULL;
if (wifi_control_data && wifi_control_data->get_country_code) {
return wifi_control_data->get_country_code(ccode);
}
#endif
return NULL;
}