X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F300-pending_work.patch;fp=package%2Fmac80211%2Fpatches%2F300-pending_work.patch;h=b62beb4ba596fe40ca86e0d2ceff45ac829adc7d;hp=b69ecc6b0417d6f4c5b72f8305bc925920efb861;hb=d9477a7d6927bcbf0f0a0f317f3d79b4eba7dc9f;hpb=b9d810bb3d6014672a2de4160470d3038fea9131 diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index b69ecc6b0..b62beb4ba 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -873,8 +873,8 @@ + * fall back to HT20 if we don't use or use + * the other extension channel + */ -+ if ((channel_type == NL80211_CHAN_HT40MINUS || -+ channel_type == NL80211_CHAN_HT40PLUS) && ++ if (!(channel_type == NL80211_CHAN_HT40MINUS || ++ channel_type == NL80211_CHAN_HT40PLUS) || + channel_type != sdata->u.ibss.channel_type) + sta_ht_cap_new.cap &= + ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;