Files
linux/net/wireless
Pontus Fuchs fe8457f1c3 nl80211: Reset split_start when netlink skb is exhausted
commit f12cb28930 upstream.

When the netlink skb is exhausted split_start is left set. In the
subsequent retry, with a larger buffer, the dump is continued from the
failing point instead of from the beginning.

This was causing my rt28xx based USB dongle to now show up when
running "iw list" with an old iw version without split dump support.

Fixes: 3713b4e364 ("nl80211: allow splitting wiphy information in dumps")
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
[avoid the entire workaround when state->split is set]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-22 13:34:44 -08:00
..
2013-12-02 11:53:44 +01:00
2013-10-01 12:16:51 +02:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00
2013-10-28 15:05:27 +01:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00