|
@@ -5783,7 +5783,8 @@ static int brcmf_setup_wiphy(struct wiphy *wiphy, struct brcmf_if *ifp)
|
|
|
wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM;
|
|
|
wiphy->mgmt_stypes = brcmf_txrx_stypes;
|
|
|
wiphy->max_remain_on_channel_duration = 5000;
|
|
|
- brcmf_wiphy_pno_params(wiphy);
|
|
|
+ if (brcmf_feat_is_enabled(ifp, BRCMF_FEAT_PNO))
|
|
|
+ brcmf_wiphy_pno_params(wiphy);
|
|
|
|
|
|
/* vendor commands/events support */
|
|
|
wiphy->vendor_commands = brcmf_vendor_cmds;
|