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>
Thu, 1 Mar 2012 00:28:56 +0000 (16:28 -0800)
commitda3e6ec2f443ac00aa623c5921e3521f5f38efe4
tree72db8d07c8485908ee448505d7b2ee42faab673f
parent2080913e017ab9f88379d93fd09546ad95faf87b
staging: r8712u: Fix regression in signal level after commit c6dc001

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>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c