aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h1
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.c4
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index fa5eb3080e24..419bf4e4dc73 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -617,7 +617,6 @@ struct ath9k_vif_iter_data {
617 int nstations; /* number of station vifs */ 617 int nstations; /* number of station vifs */
618 int nwds; /* number of WDS vifs */ 618 int nwds; /* number of WDS vifs */
619 int nadhocs; /* number of adhoc vifs */ 619 int nadhocs; /* number of adhoc vifs */
620 int nothers; /* number of vifs not specified above. */
621}; 620};
622 621
623struct ath_softc { 622struct ath_softc {
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c
index c2edf688da49..35d1c8e91d1c 100644
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
@@ -738,9 +738,9 @@ static ssize_t read_file_misc(struct file *file, char __user *user_buf,
738 738
739 len += snprintf(buf + len, sizeof(buf) - len, 739 len += snprintf(buf + len, sizeof(buf) - len,
740 "VIF-COUNTS: AP: %i STA: %i MESH: %i WDS: %i" 740 "VIF-COUNTS: AP: %i STA: %i MESH: %i WDS: %i"
741 " ADHOC: %i OTHER: %i TOTAL: %hi BEACON-VIF: %hi\n", 741 " ADHOC: %i TOTAL: %hi BEACON-VIF: %hi\n",
742 iter_data.naps, iter_data.nstations, iter_data.nmeshes, 742 iter_data.naps, iter_data.nstations, iter_data.nmeshes,
743 iter_data.nwds, iter_data.nadhocs, iter_data.nothers, 743 iter_data.nwds, iter_data.nadhocs,
744 sc->nvifs, sc->nbcnvifs); 744 sc->nvifs, sc->nbcnvifs);
745 745
746 if (len > sizeof(buf)) 746 if (len > sizeof(buf))
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index fe1d7961eefd..77c61bcd34ea 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1272,7 +1272,6 @@ static void ath9k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif)
1272 iter_data->nwds++; 1272 iter_data->nwds++;
1273 break; 1273 break;
1274 default: 1274 default:
1275 iter_data->nothers++;
1276 break; 1275 break;
1277 } 1276 }
1278} 1277}