ath9k_htc: Handle storage devices
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Mon, 21 Feb 2011 02:17:52 +0000 (07:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Feb 2011 21:25:25 +0000 (16:25 -0500)
commit36bcce430657e6fece0e8dd91557f35dbb69ec67
treecfd67c41f810b96b738994eb1206578ed2a880ef
parent85c9205c79c794a6eea0c7217db93b4c637f136e
ath9k_htc: Handle storage devices

Some AR7010 based devices are recognized as storage media.
Sending a CD-EJECT command to the device will 'convert' it into
a WLAN device. Do this within the driver itself, removing the
dependancy on an external program (usb_modeswitch).

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c
drivers/net/wireless/ath/ath9k/reg.h