]> git.baikalelectronics.ru Git - kernel.git/commit
brcmsmac: disable power-save related functions
authorArend van Spriel <arend@broadcom.com>
Thu, 6 Jun 2013 11:29:56 +0000 (13:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 18:24:23 +0000 (14:24 -0400)
commit9f6b2f3bf5c9c91b95bc9f19f6fade216a38b2a8
tree7c0f4e1dcc56e2693d70e2ca0bb6ca7c1d847c71
parent5f4534adc9372554649d4e16af6248372f4918f6
brcmsmac: disable power-save related functions

This patch fixes a regression introduced by:

  commit 81d3ef3142da4e886113c8cbe5a0162501155944
  Author: Hauke Mehrtens <hauke@hauke-m.de>
  Date:   Sun Mar 24 01:45:52 2013 +0100

      brcmsmac: remove brcms_bss_cfg->associated

The regression behaviour was described on mailing list.

http://mid.gmane.org/5197DC4F.7030503@broadcom.com:
"On laptop I installed kernel with brcmsmac compiled as
module. It comes up and associates during boot, but after
logging in there is no connectivity. Triggering reassoc
gives connectivity for some time, but after a while (1-2 min)
it stops."

Before the mentioned commit the return value of
the function brcms_c_ps_allowed() was always false,
which is desired behaviour as power-save is not
supported at the moment. Therefor, the function is
changed to just return false instead of simply
reverting the mentioned commit.

Bug: 58471 <https://bugzilla.kernel.org/show_bug.cgi?id=58471>

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c