carl9170 toolchain: update to gcc 6.2.0 and binutils 2.27
[carl9170fw.git] / carlfw / usb / usb.c
index d7bc4329ba8bad27bbac17bc2202d2c999abc49e..eb57da14aaad0f00c1648d68d6aa07a0406795ef 100644 (file)
@@ -19,8 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with this program; If not, see <http://www.gnu.org/licenses/>.
  */
 #include "carl9170.h"
 #include "usb.h"
@@ -159,7 +158,7 @@ static struct ar9170_usb_config usb_config_fullspeed = {
                        .bLength = USB_DT_ENDPOINT_SIZE,
                        .bDescriptorType = USB_DT_ENDPOINT,
                        .bEndpointAddress = USB_DIR_OUT | AR9170_USB_EP_CMD,
-                       .bmAttributes = USB_ENDPOINT_XFER_INT,
+                       .bmAttributes = USB_ENDPOINT_XFER_BULK,
                        .wMaxPacketSize = cpu_to_le16(64),
                        .bInterval = 1,
                },
@@ -528,7 +527,6 @@ static int usb_set_configuration(const struct usb_ctrlrequest *ctrl)
                        usb_init_fullspeed_fifo_cfg();
                }
                /* usb_pta_init() ? */
-               break;
 #endif /* CONFIG_CARL9170FW_USB_MODESWITCH */
 
                usb_reset_eps();