mac80211: fix a crash in the netlink backport
[oweals/openwrt.git] / package / mac80211 / patches / 524-mac80211_survey_channel_stats.patch
index b05484f769d0a13f8d696e9eec8823e995f6cae0..af712341215d80e0322095ef856aeafc615e13ad 100644 (file)
@@ -81,7 +81,7 @@
  };
 --- a/net/wireless/nl80211.c
 +++ b/net/wireless/nl80211.c
-@@ -3176,6 +3176,21 @@ static int nl80211_send_survey(struct sk
+@@ -3153,6 +3153,21 @@ static int nl80211_send_survey(struct sk
                            survey->noise);
        if (survey->filled & SURVEY_INFO_IN_USE)
                NLA_PUT_FLAG(msg, NL80211_SURVEY_INFO_IN_USE);