Return-path: Received: from mail-qw0-f42.google.com ([209.85.216.42]:60421 "EHLO mail-qw0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754635Ab1ISUlh (ORCPT ); Mon, 19 Sep 2011 16:41:37 -0400 Received: by qwi4 with SMTP id 4so18636242qwi.1 for ; Mon, 19 Sep 2011 13:41:37 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1316453903-75710-2-git-send-email-nbd@openwrt.org> References: <1316453903-75710-1-git-send-email-nbd@openwrt.org> <1316453903-75710-2-git-send-email-nbd@openwrt.org> From: "Luis R. Rodriguez" Date: Mon, 19 Sep 2011 13:41:17 -0700 Message-ID: (sfid-20110919_224141_533329_DBBA9878) Subject: Re: [PATCH v2 2/4] ath9k_hw: clean up tx power handling To: Felix Fietkau Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: T24gTW9uLCBTZXAgMTksIDIwMTEgYXQgMTA6MzggQU0sIEZlbGl4IEZpZXRrYXUgPG5iZEBvcGVu d3J0Lm9yZz4gd3JvdGU6Cj4gQEAgLTk4NiwyMSArOTk1LDE1IEBAIHN0YXRpYyB2b2lkIGF0aDlr X2h3X3NldF9kZWZfcG93ZXJfcGVyX3JhdGVfdGFibGUoc3RydWN0IGF0aF9odyAqYWgsCj4gwqAg wqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAg wqAgwqAgwqAgwqAgwqBzdHJ1Y3QgYXRoOWtfY2hhbm5lbCAqY2hhbiwKPiDCoCDCoCDCoCDCoCDC oCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDC oCDCoGludDE2X3QgKnJhdGVzQXJyYXksCj4gwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAg wqAgwq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