Date: Wed, 15 Aug 2012 00:00:30 GMT From: Kim Culhan <w8hdkim@gmail.com> To: freebsd-wireless@FreeBSD.org Subject: Re: conf/170098: virtual access points with Atheros ath driver Message-ID: <201208150000.q7F00ULA020832@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/170098; it has been noted by GNATS. From: Kim Culhan <w8hdkim@gmail.com> To: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Cc: Subject: Re: conf/170098: virtual access points with Atheros ath driver Date: Tue, 14 Aug 2012 19:55:11 -0400 --14dae9cfcdf07b278c04c7428a2b Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jul 23, 2012 at 6:30 PM, <FreeBSD-gnats-submit@freebsd.org> wrote: > Thank you very much for your problem report. > It has the internal identification `conf/170098'. > The individual assigned to look at your > report is: freebsd-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=170098 > >>Category: conf >>Responsible: freebsd-bugs >>Synopsis: virtual access points with Atheros ath driver >>Arrival-Date: Mon Jul 23 22:30:12 UTC 2012 This has been fixed by the attached 2 patches, which are applied to -HEAD in order. Thanks muchly to PseudoCylon for his work, this has taken a while but the difficult solutions are that way. thanks -kim --14dae9cfcdf07b278c04c7428a2b Content-Type: application/octet-stream; name="addon.patch" Content-Disposition: attachment; filename="addon.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h5vncnol0 ZGlmZiAtLWdpdCBhL2llZWU4MDIxMV9ub2RlLmMgYi9pZWVlODAyMTFfbm9kZS5jCmluZGV4IGE2 MDljYjEuLmExNWZjOTEgMTAwNjQ0Ci0tLSBhL2llZWU4MDIxMV9ub2RlLmMKKysrIGIvaWVlZTgw MjExX25vZGUuYwpAQCAtMjE2MCwxOCArMjE2MCwxOSBAQCBpZWVlODAyMTFfbm9kZV90aW1lb3V0 KHZvaWQgKmFyZykKICAqIE1heSBkaXJlY3RseSBiZSBjYWxsZWQgYW5kIGRvIGN1c3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lZTgwMjExX25vZGVfdGFibGUgKiwKK2ludAlpZWVlODAyMTFf aXRlcmF0ZV9udChzdHJ1Y3QgaWVlZTgwMjExX25vZGVfdGFibGUgKiwKIAkJc3RydWN0IGllZWU4 MDIxMV9ub2RlICoqLCB1aW50MTZfdCk7CiB2b2lkCWllZWU4MDIxMV9pdGVyYXRlX25vZGVzKHN0 cnVjdCBpZWVlODAyMTFfbm9kZV90YWJsZSAqLAogCQlpZWVlODAyMTFfaXRlcl9mdW5jICosIHZv aWQgKik7Cg== --14dae9cfcdf07b278c04c7428a2b Content-Type: application/octet-stream; name="iter.patch" Content-Disposition: attachment; filename="iter.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h5vnd44i1 ZGlmZiAtLWdpdCBhL2llZWU4MDIxMV9ub2RlLmMgYi9pZWVlODAyMTFfbm9kZS5jCmluZGV4IDg2 MWZhODUuLmE2MDljYjEgMTAwNjQ0Ci0tLSBhL2llZWU4MDIxMV9ub2RlLmMKKysrIGIvaWVlZTgw MjExX25vZGUuYwpAQCAtMjE1NiwzMiArMjE1Niw3OSBAQCBpZWVlODAyMTFfbm9kZV90aW1lb3V0 KHZvaWQgKmFyZykKIAkJaWVlZTgwMjExX25vZGVfdGltZW91dCwgaWMpOwogfQogCisvKgorICog TWF5IGRpcmVjdGx5IGJlIGNhbGxlZCBhbmQgZG8gY3VzdG9taXplZCBpdGVyYXRlIGZ1bmN0aW9u cy4KKyAqIE9ubHkgcmVxdWlyZW1lbnQgaXMgdG8gZGVjcmVtZW50IGVhY2ggbm9kZSdzIHJlZiBj b3VudC4KKyAqLwogdm9pZAotaWVlZTgwMjExX2l0ZXJhdGVfbm9kZXMoc3RydWN0IGllZWU4MDIx MV9ub2RlX3RhYmxlICpudCwKLQlpZWVlODAyMTFfaXRlcl9mdW5jICpmLCB2b2lkICphcmcpCitp ZWVlODAyMTFfaXRlcmF0ZV9udChzdHJ1Y3QgaWVlZTgwMjExX25vZGVfdGFibGUgKm50LAorICAg IHN0c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OworCX0KKwor CWZyZWUobmlfYXJyLCBNXzgwMjExX05PREUpOworfQorCiB2b2lkCiBpZWVlODAyMTFfZHVtcF9u b2RlKHN0cnVjdCBpZWVlODAyMTFfbm9kZV90YWJsZSAqbnQsIHN0cnVjdCBpZWVlODAyMTFfbm9k ZSAqbmkpCiB7CmRpZmYgLS1naXQgYS9pZWVlODAyMTFfbm9kZS5oIGIvaWVlZTgwMjExX25vZGUu aAppbmRleCA4M2IxMDhiLi4xZmJjODkyIDEwMDY0NAotLS0gYS9pZWVlODAyMTFfbm9kZS5oCisr KyBiL2llZWU4MDIxMV9ub2RlLmgKQEAgLTQzOCw2ICs0MzgsOCBAQCBpbnQJaWVlZTgwMjExX25v ZGVfZGVsdWNhc3RrZXkoc3RydWN0IGllZWU4MDIxMV9ub2RlICopOwogdm9pZAlpZWVlODAyMTFf bm9kZV90aW1lb3V0KHZvaWQgKmFyZyk7CiAKIHR5cGVkZWYgdm9pZCBpZWVlODAyMTFfaXRlcl9m dW5jKHZvaWQgKiwgc3RydWN0IGllZWU4MDIxMV9ub2RlICopOwordm9pZAlpZWVlODAyMTFfaXRl cmF0ZV9udChzdHJ1Y3QgaWVlZTgwMjExX25vZGVfdGFibGUgKiwKKwkJc3RydWN0IGllZWU4MDIx MV9ub2RlICoqLCB1aW50MTZfdCk7CiB2b2lkCWllZWU4MDIxMV9pdGVyYXRlX25vZGVzKHN0cnVj dCBpZWVlODAyMTFfbm9kZV90YWJsZSAqLAogCQlpZWVlODAyMTFfaXRlcl9mdW5jICosIHZvaWQg Kik7CiAK --14dae9cfcdf07b278c04c7428a2b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208150000.q7F00ULA020832>