brcmfmac: set dongle mode accordingly when interface up
authorFranky Lin <frankyl@broadcom.com>
Wed, 10 Oct 2012 18:13:10 +0000 (11:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Oct 2012 18:42:54 +0000 (14:42 -0400)
commit5dd161ff7b46029c9da4f4ef8b214b8ba4316445
treedefea0d72f1fb5162f1f4dc8cfbef4acc8b4676a
parenta180b83bb1f036c587bdb93ac6171b94ff49133c
brcmfmac: set dongle mode accordingly when interface up

The mode of WiFi dongle should be initialized in brcmf_cfg80211_up
which get called when network interface is brought up. Otherwise
brcmf_cfg80211_get_station would return error.

Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c