~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to net/bluetooth/l2cap_core.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
2191
2191
        BT_DBG("conn %p, code 0x%2.2x, ident 0x%2.2x, len %d",
2192
2192
                        conn, code, ident, dlen);
2193
2193
 
 
2194
        if (conn->mtu < L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE)
 
2195
                return NULL;
 
2196
 
2194
2197
        len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen;
2195
2198
        count = min_t(unsigned int, conn->mtu, len);
2196
2199