summaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/kobjects.c
diff options
context:
space:
mode:
authorAditya Shankar2017-01-09 07:12:15 +0100
committerGreg Kroah-Hartman2017-01-10 17:37:25 +0100
commit05a157403cb09ac32f70d77532e923fbfb39eb03 (patch)
tree4d36b6e345a29accf39b4cb56d8d951992ada970 /drivers/staging/speakup/kobjects.c
parentstaging: unisys: fix checkpatch block comments warning (diff)
downloadkernel-qcow2-linux-05a157403cb09ac32f70d77532e923fbfb39eb03.tar.gz
kernel-qcow2-linux-05a157403cb09ac32f70d77532e923fbfb39eb03.tar.xz
kernel-qcow2-linux-05a157403cb09ac32f70d77532e923fbfb39eb03.zip
staging: wilc1000: Connect to highest RSSI value for required SSID
Connect to the highest rssi with the required SSID in the shadow table if the connection criteria is based only on the SSID. For the first matching SSID, an index to the table is saved. Later the index is updated if matching SSID has a higher RSSI value than the last saved index. However if decision is made based on BSSID, there is only one match in the table and corresponding index is used. changes in v2: initialize sel_bssi_idx to UINT_MAX. Combine two checks for identifying sel_bssi_idx value for a SSID. Signed-off-by: Aditya Shankar <aditya.shankar@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/kobjects.c')
0 files changed, 0 insertions, 0 deletions