staging: r8712u: Fix regression in signal level after commit c6dc001
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 27 Feb 2012 04:08:36 +0000 (22:08 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:52:29 +0000 (09:52 -0700)
commit6fc05c7f2cfbc2ec7e5c82b65b64c27ec2a764b0
treeb3de2e47a7c85b7cd8d515f3ef056f74ea66db36
parent4399750de90017d366ae688b3e4ba86e5dfe6d25
staging: r8712u: Fix regression in signal level after commit c6dc001

commit da3e6ec2f443ac00aa623c5921e3521f5f38efe4 upstream.

In commit c6dc001 "staging: r8712u: Merging Realtek's latest (v2.6.6).
Various fixes", the returned qual.qual member of the iw_statistics
struct was changed. For strong signals, this change made no difference;
however for medium and weak signals it results in a low signal that
shows considerable fluctuation, When using wicd for a medium-strength
AP, the value reported in the status line is reduced from 100% to 60% by
this bug.

This problem is reported in https://bugzilla.kernel.org/show_bug.cgi?id=42826.

Reported-and-tested-by: Robert Crawford <wrc1944@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c