Re: [PATCH] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-08 Thread Aditya Shankar
On Thu, 5 Jan 2017 15:14:50 +0300 Dan Carpenter wrote: > On Thu, Jan 05, 2017 at 01:03:41PM +0530, Aditya Shankar wrote: > > 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 t

Re: [PATCH] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-05 Thread Dan Carpenter
On Thu, Jan 05, 2017 at 01:03:41PM +0530, Aditya Shankar wrote: > 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 SS

[PATCH] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-04 Thread Aditya Shankar
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 decisi