rtl8192cu: Call ieee80211_register_hw from rtl_usb_probe
authorKarsten Wiese <fzuuzf@googlemail.com>
Wed, 22 Oct 2014 13:47:33 +0000 (15:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Oct 2014 18:02:07 +0000 (14:02 -0400)
commitcefe3dfdb9f5f498cae9871f7e52800f5e22c614
treea98722626da5fab9a243077d8cca0e5298db3ee4
parentb2d624a5810203a1a8b7735e1ec5685109b22fc3
rtl8192cu: Call ieee80211_register_hw from rtl_usb_probe

In a previous patch the call to ieee80211_register_hw was moved from the
load firmware callback to the rtl_pci_probe only.
rt8192cu also uses this callback. Currently it doesnt create a wlan%d device.
Fill in the call to ieee80211_register_hw in rtl_usb_probe.

Signed-off-by: Karsten Wiese <fzuuzf@googlemail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/usb.c