]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
wcn36xx: remove references to IFF_PROMISC
authorNicolas Dechesne <nicolas.dechesne@linaro.org>
Wed, 27 Jan 2016 09:26:24 +0000 (10:26 +0100)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Wed, 27 Jan 2016 09:26:24 +0000 (10:26 +0100)
Since commit df140465 (mac80211: remove support for IFF_PROMISC), IFF_PROMISC no
longer exists, so we need to remove all references to it.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
drivers/net/wireless/ath/wcn36xx/main.c

index 5ca4568e69e2e63f8a4c792d32e4a21e87e6032b..7d0dd76395b6563030fab9b61a35744c76e0951f 100644 (file)
@@ -357,8 +357,7 @@ static int wcn36xx_config(struct ieee80211_hw *hw, u32 changed)
        return 0;
 }
 
-#define WCN36XX_SUPPORTED_FILTERS (FIF_PROMISC_IN_BSS | \
-                                  FIF_ALLMULTI)
+#define WCN36XX_SUPPORTED_FILTERS (FIF_ALLMULTI)
 
 static void wcn36xx_configure_filter(struct ieee80211_hw *hw,
                                     unsigned int changed,
@@ -378,7 +377,7 @@ static void wcn36xx_configure_filter(struct ieee80211_hw *hw,
                vif = wcn36xx_priv_to_vif(tmp);
 
                /* FW handles MC filtering only when connected as STA */
-               if (*total & (FIF_ALLMULTI | FIF_PROMISC_IN_BSS))
+               if (*total & FIF_ALLMULTI)
                        wcn36xx_smd_set_mc_list(wcn, vif, NULL);
                else if (NL80211_IFTYPE_STATION == vif->type && tmp->sta_assoc)
                        wcn36xx_smd_set_mc_list(wcn, vif, fp);