]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
rtlwifi: rtl8723be: Add antenna select module parameter
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 16 Mar 2016 18:33:34 +0000 (13:33 -0500)
committerKamal Mostafa <kamal@canonical.com>
Fri, 10 Jun 2016 13:32:25 +0000 (06:32 -0700)
commit5330b2d991b5b81e42046be100fcaa518af0985d
treebb80ce253cb5b6abb5b89548c8f89b18b672b1d4
parentfa2fb06fd59e6d1d093ff541d8061e6be0f15b8c
rtlwifi: rtl8723be: Add antenna select module parameter

BugLink: http://bugs.launchpad.net/bugs/1590455
commit c18d8f5095715c56bb3cd9cba64242542632054b upstream.

A number of new laptops have been delivered with only a single antenna.
In principle, this is OK; however, a problem arises when the on-board
EEPROM is programmed to use the other antenna connection. The option
of opening the computer and moving the connector is not always possible
as it will void the warranty in some cases. In addition, this solution
breaks the Windows driver when the box dual boots Linux and Windows.

A fix involving a new module parameter has been developed.  This commit
adds the new parameter and implements the changes needed for the driver.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c
drivers/net/wireless/realtek/rtlwifi/wifi.h