Lines Matching refs:WARN_ON
259 WARN_ON(err); in cfg80211_switch_netns()
269 WARN_ON(err); in cfg80211_switch_netns()
333 WARN_ON(ops->add_key && (!ops->del_key || !ops->set_default_key)); in wiphy_new()
334 WARN_ON(ops->auth && (!ops->assoc || !ops->deauth || !ops->disassoc)); in wiphy_new()
335 WARN_ON(ops->connect && !ops->disconnect); in wiphy_new()
336 WARN_ON(ops->join_ibss && !ops->leave_ibss); in wiphy_new()
337 WARN_ON(ops->add_virtual_intf && !ops->del_virtual_intf); in wiphy_new()
338 WARN_ON(ops->add_station && !ops->del_station); in wiphy_new()
339 WARN_ON(ops->add_mpath && !ops->del_mpath); in wiphy_new()
340 WARN_ON(ops->join_mesh && !ops->leave_mesh); in wiphy_new()
436 if (WARN_ON(c->max_interfaces < 2)) in wiphy_verify_combinations()
440 if (WARN_ON(!c->num_different_channels)) in wiphy_verify_combinations()
443 if (WARN_ON(!c->n_limits)) in wiphy_verify_combinations()
453 if (WARN_ON(types & all_iftypes)) in wiphy_verify_combinations()
457 if (WARN_ON(!c->limits[j].max)) in wiphy_verify_combinations()
461 if (WARN_ON(wiphy->software_iftypes & types)) in wiphy_verify_combinations()
469 if (WARN_ON((wiphy->interface_modes & types) != types)) in wiphy_verify_combinations()
474 if (WARN_ON(cnt < c->max_interfaces)) in wiphy_verify_combinations()
491 if (WARN_ON((wiphy->wowlan.flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && in wiphy_register()
495 if (WARN_ON(wiphy->ap_sme_capa && in wiphy_register()
499 if (WARN_ON(wiphy->addresses && !wiphy->n_addresses)) in wiphy_register()
502 if (WARN_ON(wiphy->addresses && in wiphy_register()
512 WARN_ON(!ifmodes); in wiphy_register()
514 if (WARN_ON(ifmodes != wiphy->interface_modes)) in wiphy_register()
529 if (WARN_ON(!sband->n_channels || !sband->n_bitrates)) in wiphy_register()
549 if (WARN_ON(sband->n_bitrates > 32)) in wiphy_register()
565 WARN_ON(1); in wiphy_register()
570 if (WARN_ON(!rdev->wiphy.wowlan.pattern_min_len || in wiphy_register()
751 if (WARN_ON(rdev->scan_req && rdev->scan_req->dev == wdev->netdev)) { in wdev_cleanup_work()
760 if (WARN_ON(rdev->sched_scan_req && in wdev_cleanup_work()
793 WARN_ON(wdev->iftype == NL80211_IFTYPE_UNSPECIFIED); in cfg80211_netdev_notifier_call()
1009 WARN_ON(cfg80211_switch_netns(rdev, &init_net)); in cfg80211_pernet_exit()