Commit a8aa69dc authored by Stone Piao's avatar Stone Piao Committed by John W. Linville

mwifiex: fix coding style issue

Remove unnecessary blank lines and extra tab.
Signed-off-by: default avatarStone Piao <piaoyun@marvell.com>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 302a3c3a
...@@ -688,7 +688,6 @@ mwifiex_cfg80211_dump_station(struct wiphy *wiphy, struct net_device *dev, ...@@ -688,7 +688,6 @@ mwifiex_cfg80211_dump_station(struct wiphy *wiphy, struct net_device *dev,
} }
/* Supported rates to be advertised to the cfg80211 */ /* Supported rates to be advertised to the cfg80211 */
static struct ieee80211_rate mwifiex_rates[] = { static struct ieee80211_rate mwifiex_rates[] = {
{.bitrate = 10, .hw_value = 2, }, {.bitrate = 10, .hw_value = 2, },
{.bitrate = 20, .hw_value = 4, }, {.bitrate = 20, .hw_value = 4, },
...@@ -705,7 +704,6 @@ static struct ieee80211_rate mwifiex_rates[] = { ...@@ -705,7 +704,6 @@ static struct ieee80211_rate mwifiex_rates[] = {
}; };
/* Channel definitions to be advertised to cfg80211 */ /* Channel definitions to be advertised to cfg80211 */
static struct ieee80211_channel mwifiex_channels_2ghz[] = { static struct ieee80211_channel mwifiex_channels_2ghz[] = {
{.center_freq = 2412, .hw_value = 1, }, {.center_freq = 2412, .hw_value = 1, },
{.center_freq = 2417, .hw_value = 2, }, {.center_freq = 2417, .hw_value = 2, },
...@@ -773,7 +771,6 @@ static struct ieee80211_supported_band mwifiex_band_5ghz = { ...@@ -773,7 +771,6 @@ static struct ieee80211_supported_band mwifiex_band_5ghz = {
/* Supported crypto cipher suits to be advertised to cfg80211 */ /* Supported crypto cipher suits to be advertised to cfg80211 */
static const u32 mwifiex_cipher_suites[] = { static const u32 mwifiex_cipher_suites[] = {
WLAN_CIPHER_SUITE_WEP40, WLAN_CIPHER_SUITE_WEP40,
WLAN_CIPHER_SUITE_WEP104, WLAN_CIPHER_SUITE_WEP104,
......
...@@ -462,7 +462,7 @@ mwifiex_wmm_lists_empty(struct mwifiex_adapter *adapter) ...@@ -462,7 +462,7 @@ mwifiex_wmm_lists_empty(struct mwifiex_adapter *adapter)
for (i = 0; i < adapter->priv_num; ++i) { for (i = 0; i < adapter->priv_num; ++i) {
priv = adapter->priv[i]; priv = adapter->priv[i];
if (priv && atomic_read(&priv->wmm.tx_pkts_queued)) if (priv && atomic_read(&priv->wmm.tx_pkts_queued))
return false; return false;
} }
return true; return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment