From: Stanislaw Gruszka Date: Fri, 18 Nov 2016 09:43:55 +0000 (+0100) Subject: rt2800: OFDM rates are mandatory X-Git-Tag: v4.10-rc1~202^2~118^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=770e4b730a73a85d05e0f0aa59f412e62774f1c9;p=platform%2Fkernel%2Flinux-exynos.git rt2800: OFDM rates are mandatory Signed-off-by: Stanislaw Gruszka Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index 9c01622..0051aef 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -1707,7 +1707,7 @@ void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp, if (changed & BSS_CHANGED_BASIC_RATES) { rt2800_register_write(rt2x00dev, LEGACY_BASIC_RATE, - erp->basic_rates); + 0xff0 | erp->basic_rates); rt2800_register_write(rt2x00dev, HT_BASIC_RATE, 0x00008003); }