]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Fix documentation for connect result
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 12 Jan 2017 23:12:22 +0000 (01:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Jan 2017 08:47:08 +0000 (09:47 +0100)
commit5639cafb98ad192742f2ec2020425b55785fd682
treee71c0d4de5864b104c36ebba31c872077d69c957
parentbdf1c1d2c2930e213f84c21c9e3a6dd2a324aef5
cfg80211: Fix documentation for connect result

The function documentation for cfg80211_connect_bss() and
cfg80211_connect_result() was still claiming that they are used only for
a success case while these functions can now be used to report both
success and various failure cases. The actual use cases were already
described in the connect() documentation.

Update the function specific comments to note the failure cases and also
describe how the special status == -1 case is used in
cfg80211_connect_bss() to indicate a connection timeout based on the
internal implementation in cfg80211_connect_timeout().

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[use tabs for indentation]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h