]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mwifiex: retrieve correct max_power information in reg_notifier handler"
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 20 Oct 2012 02:19:19 +0000 (19:19 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:20:34 +0000 (15:20 -0400)
commit0d68bb990159c14d50037e281e0bb540e4aa536f
tree07e2f503788f5926c06225ff8237cbf8a4d2c8cb
parent1335a46bf475fbb6eae0d06368c169c84884bf77
Revert "mwifiex: retrieve correct max_power information in reg_notifier handler"

This reverts commit 969cf8d678720fba24b039bb7005c6639ea4aa58

We made "34202ee.." because we didn't support custom regulatory rules
at that time. But now we use our own custom regulatory rules, so it
needs to be changed back.

Also, chan->max_power calculations in cfg80211 were broken. Hence we
started using chan->max_reg_power. Now it has got fixed in
following commit.

commit 5d23304f54e29c42fd06b076eb61ea2674594576
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Tue Jul 24 08:35:39 2012 +0200

    wireless: reg: restore previous behaviour of chan->max_power calculations

Hence we will use chan->max_power instead of chan->max_reg_power.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c