]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
staging: brcm80211: return error code to mac80211 for 40MHz channels
[karo-tx-linux.git] / drivers / staging / brcm80211 / brcmsmac / wl_mac80211.c
index 46e765e2cacdf9e7d8d35f04e48578a8caa812cb..ce115f29d79ab871a9e451982864cf30cbe00a6a 100644 (file)
@@ -246,6 +246,7 @@ ieee_set_channel(struct ieee80211_hw *hw, struct ieee80211_channel *chan,
        case NL80211_CHAN_HT40MINUS:
        case NL80211_CHAN_HT40PLUS:
                WL_ERROR("%s: Need to implement 40 Mhz Channels!\n", __func__);
+               err = 1;
                break;
        }