brcmfmac: assign chip id and rev in bus interface after brcmf_usb_dlneeded
authorArend van Spriel <arend@broadcom.com>
Fri, 20 Jun 2014 20:19:25 +0000 (22:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2014 18:30:29 +0000 (14:30 -0400)
commitc6bff5449fa78e1d524bb5b67b8ab82faf835bff
treec610efd45cc388ae202dd70c0567f0358e5dc3e5
parentd76744a93246eccdca1106037e8ee29debf48277
brcmfmac: assign chip id and rev in bus interface after brcmf_usb_dlneeded

The function brcmf_usb_dlneeded() queries the device to obtain the chip
id and revision. So assigning these in bus interface before the call
resulted in chip id and revision being zero. This was introduced by:

   commit 5b8045d484d0ef77d6aa9444023220c5671fa3fe
   Author: Arend van Spriel <arend@broadcom.com>
   Date:   Tue May 27 12:56:23 2014 +0200

       brcmfmac: use asynchronous firmware request in USB

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c