X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fusb%2Fusb.c;h=aedf30d1404830bb989e9ba8caeb4a459aee5fc1;hb=6598140e430d622be926aed43ec19fec8326cd11;hp=e1fb27ef4dce51d132d756e51fdec26c8de03779;hpb=afde8d73230109e12aff7e18fbb6bea01279a0fe;p=carl9170fw.git diff --git a/carlfw/usb/usb.c b/carlfw/usb/usb.c index e1fb27e..aedf30d 100644 --- a/carlfw/usb/usb.c +++ b/carlfw/usb/usb.c @@ -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 . */ #include "carl9170.h" #include "usb.h" @@ -516,6 +515,7 @@ static int usb_set_configuration(const struct usb_ctrlrequest *ctrl) /* Disable Device */ andb(AR9170_USB_REG_DEVICE_ADDRESS, (uint8_t) ~(AR9170_USB_DEVICE_ADDRESS_CONFIGURE)); + /* fall through */ case 1: fw.usb.config = config; @@ -528,7 +528,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();