X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F300-pending_work.patch;h=b5a9c1a65f8e72e45efee392d8de471cf4178034;hb=d03d3aa58cd5b184826222f77bb8ba941d16b6aa;hp=4ee94ef8420abdd2519baa01eaa3a32d09d67f1b;hpb=408f0988e919adafde2d7395cc34dd16e7b63c6a;p=openwrt%2F.git diff --git a/package/kernel/mac80211/patches/300-pending_work.patch b/package/kernel/mac80211/patches/300-pending_work.patch index 4ee94ef842..b5a9c1a65f 100644 --- a/package/kernel/mac80211/patches/300-pending_work.patch +++ b/package/kernel/mac80211/patches/300-pending_work.patch @@ -1537,6 +1537,18 @@ state->filter_wiphy = -1; ret = nl80211_dump_wiphy_parse(skb, cb, state); if (ret) { +@@ -4770,9 +4774,9 @@ do { \ + FILL_IN_MESH_PARAM_IF_SET(tb, cfg, dot11MeshForwarding, 0, 1, + mask, NL80211_MESHCONF_FORWARDING, + nla_get_u8); +- FILL_IN_MESH_PARAM_IF_SET(tb, cfg, rssi_threshold, 1, 255, ++ FILL_IN_MESH_PARAM_IF_SET(tb, cfg, rssi_threshold, -255, 0, + mask, NL80211_MESHCONF_RSSI_THRESHOLD, +- nla_get_u32); ++ nla_get_s32); + FILL_IN_MESH_PARAM_IF_SET(tb, cfg, ht_opmode, 0, 16, + mask, NL80211_MESHCONF_HT_OPMODE, + nla_get_u16); @@ -6615,12 +6619,14 @@ EXPORT_SYMBOL(cfg80211_testmode_alloc_ev void cfg80211_testmode_event(struct sk_buff *skb, gfp_t gfp)