]> bbs.cooldavid.org Git - net-next-2.6.git/commit
iwlwifi: apply filter flags directly
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Apr 2010 11:43:05 +0000 (04:43 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:08:58 +0000 (15:08 -0700)
commit3474ad635db371b0d8d0ee40086f15d223d5b6a4
tree357d40529a6ba92d1766f3ff07fe90625cd99e80
parenteafdfbd32aa9fcaf17733c04d5eb071af3b1ff47
iwlwifi: apply filter flags directly

Since iwl_configure_filter can now sleep since
the mac80211 callback was changed, we can now
apply filter flags changes directly.

Also, while at it, make the code a bit more
generic with a local macro. There's no need
to check changed_flags since we apply all at
the same time anyway.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-core.c