aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2023-07-23 23:10:43 +0300
committerKalle Valo <kvalo@kernel.org>2023-07-26 10:08:07 +0300
commitfd7f08d92fcd7cc3eca0dd6c853f722a4c6176df (patch)
tree12c04e67ef6c5ff8317d392a1d9d43d9095b5625 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentd265ebe41c911314bd273c218a37088835959fa1 (diff)
wifi: cfg80211: Fix return value in scan logic
The reporter noticed a warning when running iwlwifi: WARNING: CPU: 8 PID: 659 at mm/page_alloc.c:4453 __alloc_pages+0x329/0x340 As cfg80211_parse_colocated_ap() is not expected to return a negative value return 0 and not a negative value if cfg80211_calc_short_ssid() fails. Fixes: c8cb5b854b40f ("nl80211/cfg80211: support 6 GHz scanning") Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217675 Signed-off-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230723201043.3007430-1-ilan.peer@intel.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions