Return-path: Received: from ti-out-0910.google.com ([209.85.142.187]:44597 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705AbYGYFLI (ORCPT ); Fri, 25 Jul 2008 01:11:08 -0400 Received: by ti-out-0910.google.com with SMTP id b6so1647881tic.23 for ; Thu, 24 Jul 2008 22:11:05 -0700 (PDT) Message-ID: (sfid-20080725_071127_165077_33B3AC1F) Date: Fri, 25 Jul 2008 14:11:04 +0900 From: "=?EUC-KR?B?wNO/tbrz?=" To: "Johannes Berg" Subject: Re: question about open11s installation Cc: linux-wireless@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=EUC-KR References: <1216313740.3422.44.camel@johannes.berg> Sender: linux-wireless-owner@vger.kernel.org List-ID: VG8gZmluZCB0aGUgY2F1c2UgSSB0ZXN0ZWQgd2hldGhlciB0aGUgbWVzaCBub2RlcyBzZW5kIGJl YWNvbnMgY29ycmVjdGx5LgpJIHB1dCBhIG5vZGUgbmVhciBtZXNoIG5vZGVzLCBzZXQgdG8gdGhl IHNhbWUgY2hhbm5lbCB3aXRoIG1lc2ggbm9kZXMuClRoZW4gSSBleGVjdXRlZCB3bGFuY3RsKHRo aXMgbm9kZSdzIE9TIGlzIG5ldGJzZCkuCkJ1dCBJIGNvdWxkbid0IGRpc2NvdmVyIG1lc2ggbm9k ZXMncyBhZGRyZXNzZXMuCkknbSBub3Qgc3VyZSwgYnV0IEkgdGhpbmsgdGhhdCBpZiB0aGUgbWVz aCBub2RlcyBzZW5kIGJlYWNvbnMgY29ycmVjdGx5CnRoZSBub2RlIHdpbGwgcmVjb2duaXplIG1l c2ggbm9kZXMsIGFuZCBwdXQgdGhlbSBpbiB0aGUgbGlzdCwgaXNuJ3QgaXQ/ClNvIHRoZXJlJ3Mg c29tZSBwcm9ibGVtIHdpdGggbWVzaCBiZWFjb25pbmcgd2l0aCBiNDMgZHJpdmVyLgoKMjAwOC83 LzE4IMDTv7W68yA8eWJ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