On Tue, 2019-12-24 at 00:22 +0530, Veerendranath Jakkam wrote: > > @@ -2437,10 +2472,8 @@ static int nl80211_send_wiphy(struct cfg80211_registered_device *rdev, > state->split_start++; > break; > case 15: > - if (rdev->wiphy.akm_suites && > - nla_put(msg, NL80211_ATTR_AKM_SUITES, > - sizeof(u32) * rdev->wiphy.n_akm_suites, > - rdev->wiphy.akm_suites)) I don't think you should break this for all existing cases. johannes