mac80211: fix IBSS code
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 21 Feb 2008 10:08:33 +0000 (11:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:41:41 +0000 (15:41 -0500)
commitfba4a1e63723b5ef16c21a90f06520ae37c5da98
tree7404ae0907cc590500046b7fe039a314be223c0f
parentf3af89d1aaaf2d2ef3bc6afe5eadb7127c51fe12
mac80211: fix IBSS code

This patch fixes two errors introduced by

    commit 19d35612f3cd7f60dd9174c0100584e21f5a1025
    Author: Bruno Randolf <bruno@thinktube.com>
    Date:   Mon Feb 18 11:21:36 2008 +0900

        mac80211: enable IBSS merging

The first error is an endianness problem that sparse found and
the second is a build failure when CONFIG_MAC80211_IBSS_DEBUG
is not set.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Bruno Randolf <bruno@thinktube.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_sta.c