diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-06-04 14:25:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-04 14:25:44 -0400 |
commit | 26b36cfefaf2be98b225e3c1a399edb0daf52ddd (patch) | |
tree | 6344512c5477ebc5d8b2d5862b6e2dc2ce5b865b /net/mac80211/mlme.c | |
parent | 2826bcd844e05dcbef9b9284bddb7fe88e8d314f (diff) | |
download | kernel_samsung_tuna-26b36cfefaf2be98b225e3c1a399edb0daf52ddd.zip kernel_samsung_tuna-26b36cfefaf2be98b225e3c1a399edb0daf52ddd.tar.gz kernel_samsung_tuna-26b36cfefaf2be98b225e3c1a399edb0daf52ddd.tar.bz2 |
mac80211: make ARP filtering depend on CONFIG_INET
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 7e72013..3623bb7 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2078,6 +2078,7 @@ static enum work_done_result ieee80211_assoc_done(struct ieee80211_work *wk, cfg80211_send_assoc_timeout(wk->sdata->dev, wk->filter_ta); return WORK_DONE_DESTROY; +#ifdef CONFIG_INET } else { mutex_unlock(&wk->sdata->u.mgd.mtx); @@ -2088,6 +2089,7 @@ static enum work_done_result ieee80211_assoc_done(struct ieee80211_work *wk, rtnl_lock(); ieee80211_set_arp_filter(wk->sdata); rtnl_unlock(); +#endif } } |