Skip to content
Commit 015028fb authored by Jouni Malinen's avatar Jouni Malinen Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarJouni Malinen <jouni@qca.qualcomm.com>
[use tabs for indentation]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Git-commit: c88215d7050f065afaed33e9599c2ef4e5e6ee22
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


CRs-Fixed: 2028536
Change-Id: I81db3b6a0eeb6550793f52323f151b6cec570764
Signed-off-by: default avatarVidyullatha Kanchanapally <vidyullatha@codeaurora.org>
parent b56bf88c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment