Use Linux 3.17 4-argument alloc_netdev(), provide compatibility code
[madwifi/.git] / net80211 / ieee80211_node.h
index 03f82530c518a9e3acf1c9a7fcd7ff5cfc81f15e..8b4913f24e4260641260975bb8f3b6ee69fa3899 100644 (file)
@@ -114,7 +114,7 @@ struct ieee80211_node {
        u_int8_t ni_ath_flags;                  /* Atheros feature flags */
        /* NB: These must have the same values as IEEE80211_ATHC_* */
 #define IEEE80211_NODE_TURBOP  0x0001          /* Turbo prime enable */
-#define IEEE80211_NODE_COMP    0x0002          /* Compresssion enable */
+#define IEEE80211_NODE_COMP    0x0002          /* Compression enable */
 #define IEEE80211_NODE_FF      0x0004          /* Fast Frame capable */
 #define IEEE80211_NODE_XR      0x0008          /* Atheros WME enable */
 #define IEEE80211_NODE_AR      0x0010          /* AR capable */
@@ -279,7 +279,7 @@ struct ieee80211_node *ieee80211_find_txnode(struct ieee80211vap *,
 /* Reference counting only needs to be locked out against the transitions,
  * 0->1 and 1->0 (i.e., when we do not own the reference we are getting).
  * This only happens when finding the a node reference from the node table,
- * which is locked seperately. Thus, we do not need to lock the follwoing 
+ * which is locked separately. Thus, we do not need to lock the following
  * functions. 
  * Increment the reference counter for ieee80211_node *. */
 struct ieee80211_node *ieee80211_ref_node(struct ieee80211_node *ni);