cfg80211: remove obselete comment for .sched_scan_stop() callback
PATCH 1/1 cfg80211: remove obselete comment for .sched_scan_stop() callback
The kerneldoc comment for .sched_scan_stop() callback describes a driver_initiated flag, but the interface does not hold such a flag.
---
Hi Johannes,
Was working on scheduled scan support for brcmfmac and got a little confused about .sched_scan_stop() documentation. Not sure if this was stale documentation.
The patch applies to master branch in mac80211-next repository.
Gr. AvS
--- include/net/cfg80211.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
include/net/cfg80211.h +1 -3
@@ -1580,9 +1580,7 @@ struct cfg80211_gtk_rekey_data {* @set_cqm_txe_config: Configure connection quality monitor TX error * thresholds. * @sched_scan_start: Tell the driver to start a scheduled scan. -* @sched_scan_stop: Tell the driver to stop an ongoing scheduled -* scan. The driver_initiated flag specifies whether the driver -* itself has informed that the scan has stopped. +* @sched_scan_stop: Tell the driver to stop an ongoing scheduled scan. * * @mgmt_frame_register: Notify driver that a management frame type was * registered. Note that this callback may not sleep, and cannot run
Signature · 1 line
1.7.9.5
Johannes Berg
maintainerQuoted 6 lines · Arend van Spriel
The kerneldoc comment for .sched_scan_stop() callback describes a
driver_initiatedflag, but the interface does not hold such a flag.Reviewed-by Franky (Zhenhui) Lin <[email protected]>Reviewed-by Hante Meuleman <[email protected]>Signed-off-by Arend van Spriel <[email protected]>
Quoted 6 lines
---
Hi Johannes,Was working on scheduled scan support for brcmfmac and got a little confused about .sched_scan_stop() documentation. Not sure if this was stale documentation.
Yes I believe this was some sort of circular call that we removed (driver calls stop, cfg80211 tells driver it itself stopped??)
I'll apply this (and fix the typo ("obsolete") in the subject)
johannes
Quoted 10 lines · Johannes Berg
Quoted 9 lines · Arend van Spriel
The kerneldoc comment for .sched_scan_stop() callback describes a
driver_initiatedflag, but the interface does not hold such a flag.Reviewed-by Franky (Zhenhui) Lin <[email protected]>Reviewed-by Hante Meuleman <[email protected]>Signed-off-by Arend van Spriel <[email protected]>---
Hi Johannes,
Quoted 6 lines
Quoted 3 lines
Was working on scheduled scan support for brcmfmac and got a little confused about .sched_scan_stop() documentation. Not sure if this was stale documentation.
Yes I believe this was some sort of circular call that we removed (driver calls stop, cfg80211 tells driver it itself stopped??)
I can come up with a scenario, where scheduled scan related cleanup is done in sched_scan_stop and needs different behaviour when initiated by driver as opposed to user-space initiated. However, it feels awkward so good riddance.
Quoted 3 lines
I'll apply this (and fix the typo ("obsolete") in the subject)
johannes
Thanks (and thanks for fixing the subject ;-) ).
Gr. AvS