let ieee80211_recv_mgmt() return 0 if the frame is to be discarded and don't
authorbr1 <br1@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 16 May 2008 16:09:28 +0000 (16:09 +0000)
committerbr1 <br1@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 16 May 2008 16:09:28 +0000 (16:09 +0000)
commit86d8de1785e8defcb74f406216e66526bf3d07ec
tree3de56855717a8159b25b86810efab24a87698b7b
parent6da523e4d6ac19f2586125ed44af6d15898b0a56
let ieee80211_recv_mgmt() return 0 if the frame is to be discarded and don't
process discarded frames in ath_recv_mgmt(). this reduces the number of times
we attempt to merge IBSS to invalid beacons.

this patch is based on the work of Derek Smithies

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3634 0192ed92-7a03-0410-a25b-9323aeb14dbd
ath/if_ath.c
ath/if_athvar.h
net80211/ieee80211_input.c
net80211/ieee80211_node.c
net80211/ieee80211_proto.h
net80211/ieee80211_var.h