diff options
Diffstat (limited to 'net/ieee80211')
-rw-r--r-- | net/ieee80211/ieee80211_module.c | 2 | ||||
-rw-r--r-- | net/ieee80211/ieee80211_tx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_module.c b/net/ieee80211/ieee80211_module.c index 5714692e82b4..f66d792cd204 100644 --- a/net/ieee80211/ieee80211_module.c +++ b/net/ieee80211/ieee80211_module.c | |||
@@ -230,7 +230,7 @@ static int __init ieee80211_init(void) | |||
230 | struct proc_dir_entry *e; | 230 | struct proc_dir_entry *e; |
231 | 231 | ||
232 | ieee80211_debug_level = debug; | 232 | ieee80211_debug_level = debug; |
233 | ieee80211_proc = create_proc_entry(DRV_NAME, S_IFDIR, proc_net); | 233 | ieee80211_proc = proc_mkdir(DRV_NAME, proc_net); |
234 | if (ieee80211_proc == NULL) { | 234 | if (ieee80211_proc == NULL) { |
235 | IEEE80211_ERROR("Unable to create " DRV_NAME | 235 | IEEE80211_ERROR("Unable to create " DRV_NAME |
236 | " proc directory\n"); | 236 | " proc directory\n"); |
diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index 8d87897d7eb7..e860777ab8d3 100644 --- a/net/ieee80211/ieee80211_tx.c +++ b/net/ieee80211/ieee80211_tx.c | |||
@@ -187,7 +187,7 @@ void ieee80211_txb_free(struct ieee80211_txb *txb) | |||
187 | } | 187 | } |
188 | 188 | ||
189 | static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size, | 189 | static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size, |
190 | int gfp_mask) | 190 | unsigned int gfp_mask) |
191 | { | 191 | { |
192 | struct ieee80211_txb *txb; | 192 | struct ieee80211_txb *txb; |
193 | int i; | 193 | int i; |