Re: [PATCH] staging: rtl8723bs: return -ENOENT for AP/Ad-Hoc get_station
From: Greg Kroah-Hartman
Date: Sun Jan 11 2026 - 07:47:40 EST
On Wed, Dec 31, 2025 at 10:53:41AM +0330, moradi.saeed wrote:
> The cfg80211 get_station callback must return -ENOENT when
> station information is unavailable. The AP/Ad-Hoc path
> currently returns success without filling station_info,
> leading to invalid data exposure to userspace.
>
> Fix this by returning -ENOENT for unimplemented modes.
>
> Signed-off-by: moradi.saeed <saeed.b.67@xxxxxxxxx>
Please use your name to sign off, not your email alias.
thanks,
greg k-h