fixup list station support:
commit2644432463191a2cec2b1b339c37adf2b863f6e0
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 3 Sep 2006 02:17:54 +0000 (3 02:17 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 3 Sep 2006 02:17:54 +0000 (3 02:17 +0000)
tree6e00a04d5870653597382add5abd97b018785407
parentf8aa874a48fb322dd42628d67aed089a2dc03032
fixup list station support:
o add sanity check to avoid possible looping
o use intended api for IEEE80211_IOC_STA_INFO
o when operating in sta mode get the sta info for the ap

Obtained-from: FreeBSD (sam@freebsd.org)
sbin/ifconfig/ifieee80211.c