aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorStone Piao <piaoyun@marvell.com>2012-09-25 23:23:31 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-09-28 13:54:03 -0400
commita8aa69dca7f754c9a2b524c90fda0209187ae9d7 (patch)
tree00873a05e3be58e3c9a114770541c6babd923f02 /drivers/net/wireless
parent302a3c3a387eb01cc055684094e9450a79780acd (diff)
mwifiex: fix coding style issue
Remove unnecessary blank lines and extra tab. Signed-off-by: Stone Piao <piaoyun@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c3
-rw-r--r--drivers/net/wireless/mwifiex/wmm.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index c24824f8c8a1..6fd4fa6705d9 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -688,7 +688,6 @@ mwifiex_cfg80211_dump_station(struct wiphy *wiphy, struct net_device *dev,
688} 688}
689 689
690/* Supported rates to be advertised to the cfg80211 */ 690/* Supported rates to be advertised to the cfg80211 */
691
692static struct ieee80211_rate mwifiex_rates[] = { 691static struct ieee80211_rate mwifiex_rates[] = {
693 {.bitrate = 10, .hw_value = 2, }, 692 {.bitrate = 10, .hw_value = 2, },
694 {.bitrate = 20, .hw_value = 4, }, 693 {.bitrate = 20, .hw_value = 4, },
@@ -705,7 +704,6 @@ static struct ieee80211_rate mwifiex_rates[] = {
705}; 704};
706 705
707/* Channel definitions to be advertised to cfg80211 */ 706/* Channel definitions to be advertised to cfg80211 */
708
709static struct ieee80211_channel mwifiex_channels_2ghz[] = { 707static struct ieee80211_channel mwifiex_channels_2ghz[] = {
710 {.center_freq = 2412, .hw_value = 1, }, 708 {.center_freq = 2412, .hw_value = 1, },
711 {.center_freq = 2417, .hw_value = 2, }, 709 {.center_freq = 2417, .hw_value = 2, },
@@ -773,7 +771,6 @@ static struct ieee80211_supported_band mwifiex_band_5ghz = {
773 771
774 772
775/* Supported crypto cipher suits to be advertised to cfg80211 */ 773/* Supported crypto cipher suits to be advertised to cfg80211 */
776
777static const u32 mwifiex_cipher_suites[] = { 774static const u32 mwifiex_cipher_suites[] = {
778 WLAN_CIPHER_SUITE_WEP40, 775 WLAN_CIPHER_SUITE_WEP40,
779 WLAN_CIPHER_SUITE_WEP104, 776 WLAN_CIPHER_SUITE_WEP104,
diff --git a/drivers/net/wireless/mwifiex/wmm.c b/drivers/net/wireless/mwifiex/wmm.c
index 766d45294c86..07a45407d3b4 100644
--- a/drivers/net/wireless/mwifiex/wmm.c
+++ b/drivers/net/wireless/mwifiex/wmm.c
@@ -462,7 +462,7 @@ mwifiex_wmm_lists_empty(struct mwifiex_adapter *adapter)
462 for (i = 0; i < adapter->priv_num; ++i) { 462 for (i = 0; i < adapter->priv_num; ++i) {
463 priv = adapter->priv[i]; 463 priv = adapter->priv[i];
464 if (priv && atomic_read(&priv->wmm.tx_pkts_queued)) 464 if (priv && atomic_read(&priv->wmm.tx_pkts_queued))
465 return false; 465 return false;
466 } 466 }
467 467
468 return true; 468 return true;