kaweth: fix firmware download
authorOliver Neukum <oneukum@suse.com>
Wed, 17 Aug 2016 13:51:55 +0000 (15:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 06:25:33 +0000 (23:25 -0700)
commit60bcabd080f53561efa9288be45c128feda1a8bb
tree92bce04e3e38467f5bcbfeded2aa66140adf8e1a
parentb9f63ae7ba2de2ba19137c5757c0607ce40f3ed5
kaweth: fix firmware download

This fixes the oops discovered by the Umap2 project and Alan Stern.
The intf member needs to be set before the firmware is downloaded.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/kaweth.c