aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ks7010/ks_wlan.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2016-06-17 10:46:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-18 19:45:55 -0700
commit6ee9169b407f70334f59cdf5a40a72a5d27f0ec2 (patch)
treea4daeee84cb8b28aa23f8e6ae4abe6d135c36fc7 /drivers/staging/ks7010/ks_wlan.h
parentstaging/android: sync_debug: unproxify debugfs files' fops (diff)
downloadlinux-dev-6ee9169b407f70334f59cdf5a40a72a5d27f0ec2.tar.xz
linux-dev-6ee9169b407f70334f59cdf5a40a72a5d27f0ec2.zip
staging: ks7010: remove cfg file handling
I verified that all but two settings from the config file can be set up also via 'iwconfig' or 'iwpriv'. The two missing are ROM_FILE and PhyInformationTimer. ROM_FILE can be easily dropped. There is only one known firmware floating on the net, so, the name is fix and we can make this constant. Frankly, I don't know when PhyInformationTimer needs to be set to non-zero. But if we need it somewhen, there is already (currently commented out) code to add this as another private method, so we could use that. Summa summarum: We can remove the config file handling and the example config file. The only useful action, initialization of the configuration struct, is now moved to the sdio main file. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/ks_wlan.h')
-rw-r--r--drivers/staging/ks7010/ks_wlan.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index c42d99c6bc1f..019c43031d3b 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -73,7 +73,6 @@ struct ks_wlan_parameter {
uint16_t phy_type; /* 11b/11g/11bg mode type */
uint16_t cts_mode; /* for 11g/11bg mode cts mode */
uint16_t phy_info_timer; /* phy information timer */
- char rom_file[256];
};
enum {