\r
u4Byte Path_SEL_BB;\r
// u4Byte Path_SEL_BB, Path_SEL_RF;\r
-if( pAdapter->registrypriv.mp_mode == 1 && pAdapter->mppriv.mode == 3 )\r
-{\r
- DBG_871X("%s() :return !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n",__func__);\r
- return;\r
-}\r
\r
#if (DM_ODM_SUPPORT_TYPE & (ODM_AP|ODM_ADSL))\r
u4Byte retryCount = 2;\r
#endif\r
#endif\r
\r
+if( pAdapter->registrypriv.mp_mode == 1 && pAdapter->mppriv.mode == 3 )\r
+{\r
+ DBG_871X("%s() :return !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n",__func__);\r
+ return;\r
+}\r
+\r
// Note: IQ calibration must be performed after loading \r
// PHY_REG.txt , and radio_a, radio_b.txt \r
\r
#endif
}
+typedef void (*reg_notifier_func) (struct wiphy *, struct regulatory_request *);
+
static int _rtw_regd_init_wiphy(struct rtw_regulatory *reg,
struct wiphy *wiphy,
int (*reg_notifier) (struct wiphy * wiphy,
{
const struct ieee80211_regdomain *regd;
- wiphy->reg_notifier = reg_notifier;
+ wiphy->reg_notifier = (reg_notifier_func) reg_notifier;
wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY;
wiphy->flags &= ~WIPHY_FLAG_STRICT_REGULATORY;
return _rtw_reg_notifier_apply(wiphy, request, reg);
}
-#endif //CONFIG_IOCTL_CFG80211
\ No newline at end of file
+#endif //CONFIG_IOCTL_CFG80211