<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Nimbus Mono L";}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
code
        {font-family:"Courier New";}
span.UNIXFilename
        {font-family:"Courier New";
        color:windowtext;}
p.PageQuote, li.PageQuote, div.PageQuote
        {margin-top:0in;
        margin-right:.1in;
        margin-bottom:0in;
        margin-left:.1in;
        margin-bottom:.0001pt;
        border:none;
        padding:0in;
        font-size:8.0pt;
        font-family:"Courier New";}
p.WW-PreformattedText111, li.WW-PreformattedText111, div.WW-PreformattedText111
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Nimbus Mono L";}
p.Styleterminalcommand9ptBlackLeft05, li.Styleterminalcommand9ptBlackLeft05, div.Styleterminalcommand9ptBlackLeft05
        {mso-margin-top-alt:auto;
        margin-right:23.75pt;
        mso-margin-bottom-alt:auto;
        margin-left:.5in;
        background:#E4E7EA;
        border:none;
        padding:0in;
        font-size:9.0pt;
        font-family:"Courier New";
        color:black;}
p.Styleterminalcommand9ptBlackLeft05CxSpFirst, li.Styleterminalcommand9ptBlackLeft05CxSpFirst, div.Styleterminalcommand9ptBlackLeft05CxSpFirst
        {mso-style-type:export-only;
        mso-margin-top-alt:auto;
        margin-right:23.75pt;
        mso-margin-bottom-alt:auto;
        margin-left:.5in;
        background:#E4E7EA;
        border:none;
        padding:0in;
        font-size:9.0pt;
        font-family:"Courier New";
        color:black;}
p.Styleterminalcommand9ptBlackLeft05CxSpMiddle, li.Styleterminalcommand9ptBlackLeft05CxSpMiddle, div.Styleterminalcommand9ptBlackLeft05CxSpMiddle
        {mso-style-type:export-only;
        mso-margin-top-alt:auto;
        margin-right:23.75pt;
        mso-margin-bottom-alt:auto;
        margin-left:.5in;
        background:#E4E7EA;
        border:none;
        padding:0in;
        font-size:9.0pt;
        font-family:"Courier New";
        color:black;}
p.Styleterminalcommand9ptBlackLeft05CxSpLast, li.Styleterminalcommand9ptBlackLeft05CxSpLast, div.Styleterminalcommand9ptBlackLeft05CxSpLast
        {mso-style-type:export-only;
        mso-margin-top-alt:auto;
        margin-right:23.75pt;
        mso-margin-bottom-alt:auto;
        margin-left:.5in;
        background:#E4E7EA;
        border:none;
        padding:0in;
        font-size:9.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi all:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I just attempted building the latest kernel from Geoff&#8217;s
git tree (2.6.24-rc2-g33ee1815-dirty) and it errors when building net/Bluetooth/hci_core.c.&nbsp;
Took a quick peak, seems the PS3-specific #INCLUDE around line 260 is failing
due to newer changes in hci_send_cmd().&nbsp; I quickly adjusted to emulate
code above the failure and compile worked.&nbsp; I don&#8217;t claim to know if
my fix is correct, I only took a cursory glance at the code as I&#8217;ve never
hacked the Bluetooth code (other than adding support for the PS3 controller
awhile ago, which has slowly become supported).&nbsp; I&#8217;m sure this would
be fixed pretty much as soon as someone smarter than I tried compiling, but in
the mean time, below is my diff to what came from the git tree:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>--- a/net/bluetooth/hci_core.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>+++ b/net/bluetooth/hci_core.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>@@ -257,7 +257,7 @@ static void hci_init_req(struct hci_dev
*hdev, unsigned long<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cp.flt_type = HCI_FLT_CONN_SETUP;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cp.cond_type = 0; /* all devices */<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cp.condition = 1; /* auto accept is off */<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
hci_send_cmd(hdev, OGF_HOST_CTL, OCF_SET_EVENT_FLT, sizeof(cp),<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
hci_send_cmd(hdev, HCI_OP_SET_EVENT_FLT, sizeof(cp),<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&amp;cp);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;#endif<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Cheers,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Grant<o:p></o:p></span></font></p>

</div>

</body>

</html>