rtl8180: Fix to add STA mode
commitb55eae3349ff5d6d088c7ab0151260d5e3dbd26d
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 21 Dec 2008 21:40:33 +0000 (21 15:40 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:53 +0000 (12 14:24 -0500)
treebdaff9845c3ef0e2ca4458485abee91a7d86836d
parent1061787967db03975dc02030d6815811f4eb9231
rtl8180: Fix to add STA mode

To be compatible with mac80211 following "mac80211: only create
default STA interface if supported", rtl8180 needs to set
NL80211_IFTYPE_STATION in interface_modes.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: Fabio Rossi <rossi.f@inwind.it>
Tested-by: Piter PUNK <piterpunk@unitednerds.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180_dev.c